const DPP = window.DuologueDesignSystem_a613c9;
const DUOLOGUE_OFFICE_PP = "Dubai Founders HQ, 25 Hours, One Central, Dubai, United Arab Emirates";

function PrivacyScreen() {
  const LegalPage = window.LegalPage;
  return <LegalPage
    eyebrow="Legal"
    title="Privacy Policy"
    updated="29 August 2026"
    intro={<>This Privacy Policy explains how Duologue (“Duologue”, “we”, “us”, or “our”) collects, uses, and shares personal information when you visit our websites or use the Duologue platform and related services (the “Service”). Our registered office is at {DUOLOGUE_OFFICE_PP}. By using the Service, you acknowledge the practices described in this policy.</>}
    sections={[
      { h: "Personal information we collect", p: [
        "We collect the following categories of personal information:",
        [
          "Account and contact data — your name, work email, company, role, and login details.",
          "Billing data — where you subscribe to a paid plan, billing contact and transaction details (payment-card data is processed by our payment provider, not stored by us).",
          "Usage data — how you interact with the Service, including log data, device and browser information, and diagnostics.",
          "Communications — messages you send us, support requests, and survey responses.",
          "Customer Data you connect — where you authorise it, data from your email, calendar, dialer, and CRM, along with account signals gathered from public sources. This may contain personal information about your contacts."
        ]
      ]},
      { h: "How we collect information", p: [
        "We collect information directly from you when you create an account or contact us; automatically as you use the Service (for example, through cookies and server logs); and from third parties, including your connected tools, publicly available sources, and data-enrichment providers used to build account context."
      ]},
      { h: "Cookies and tracking technologies", p: [
        "We use cookies and similar technologies to operate the Service, remember your preferences, and understand how the Service is used. Some cookies are strictly necessary; others are used for analytics. You can manage non-essential cookies through your browser settings or any cookie controls we provide."
      ]},
      { h: "How we use your information", p: [
        "We use personal information to:",
        [
          "provide, operate, secure, and maintain the Service;",
          "generate account context, signals, and suggested replies for you;",
          "process billing and administer your subscription;",
          "provide support and respond to your requests;",
          "improve and develop the Service, including troubleshooting and analytics;",
          "send you service and marketing communications (you can opt out of marketing at any time); and",
          "comply with legal obligations and enforce our terms."
        ],
        "We do not sell personal information, and we do not use your Customer Data to train shared or third-party artificial-intelligence models."
      ]},
      { h: "Account signals and data sources", p: [
        "The Service keeps a standing watch on your accounts and refreshes account signals on a schedule. Signals are drawn from public sources, your connected CRM, and the conversations already in your connected inbox. You control which sources are connected and can disconnect any source at any time; doing so stops further collection from that source."
      ]},
      { h: "How we share your information", p: [
        "We share personal information with:",
        [
          "service providers and subprocessors that host our infrastructure, provide AI processing, deliver email, and support our operations, under obligations of confidentiality and data protection;",
          "your connected tools, such as your CRM, where you direct us to write information back;",
          "professional advisors, such as auditors and lawyers, where necessary;",
          "authorities or other parties where required by law or to protect rights and safety; and",
          "a successor entity in connection with a merger, acquisition, or sale of assets."
        ]
      ]},
      { h: "Retention", p: [
        "We retain personal information for as long as needed to provide the Service, comply with our legal obligations, resolve disputes, and enforce our agreements. When information is no longer required, we delete or anonymise it."
      ]},
      { h: "Your rights and choices", p: [
        "Depending on your location, you may have rights to access, correct, delete, or port your personal information, to object to or restrict certain processing, and to withdraw consent. Individuals whose data is processed in the DIFC have rights under the DIFC Data Protection Law (DIFC Law No. 5 of 2020).",
        "You can opt out of marketing emails using the unsubscribe link in any message. To exercise your rights, contact us using the details below; we may need to verify your identity before responding."
      ]},
      { h: "Security", p: [
        "We use technical and organisational measures designed to protect personal information, including encryption in transit and at rest, access controls, and regional hosting where available. No method of transmission or storage is completely secure, but we work to protect your information and to notify you of incidents where required by law."
      ]},
      { h: "International data transfers", p: [
        "We are based in the DIFC, Dubai, and may process and store information in the United Arab Emirates and in other countries where we or our service providers operate. Where personal information is transferred across borders, we take steps designed to ensure it receives an adequate level of protection consistent with applicable law."
      ]},
      { h: "Children", p: [
        "The Service is intended for business users and is not directed to individuals under 18. We do not knowingly collect personal information from children. If you believe a child has provided us with personal information, please contact us so we can remove it."
      ]},
      { h: "Other sites and services", p: [
        "The Service may link to, or integrate with, third-party websites and services that we do not control. This Privacy Policy does not apply to those third parties, and we encourage you to review their privacy notices."
      ]},
      { h: "Changes to this Privacy Policy", p: [
        "We may update this Privacy Policy from time to time. When we do, we will revise the “last updated” date above and, where changes are material, take reasonable steps to notify you."
      ]},
      { h: "How to contact us", p: [
        <>If you have questions about this Privacy Policy or how we handle your information, contact us at <a href="mailto:privacy@duologue.com">privacy@duologue.com</a>, or write to us at {DUOLOGUE_OFFICE_PP}.</>
      ]}
    ]} />;
}
window.PrivacyScreen = PrivacyScreen;
