/**
 * Privacy Policy content for mifi Ventures. Used by /privacy-policy.
 * Last updated: March 12, 2026. Includes Messaging Policy (SMS) for OpenPhone / A2P compliance; Microsoft Clarity and Google Analytics.
 */

export interface LegalSectionLink {
    href: string;
    label: string;
}

export interface LegalSection {
    id: string;
    heading: string;
    body: string[];
    list?: string[];
    /** Optional links to inject into body paragraphs (URLs in text become <a> with this label) */
    links?: LegalSectionLink[];
    /** Numbered sub-sections (e.g. Messaging Policy 1–6) */
    subsections?: { title: string; body: string[]; list?: string[] }[];
}

export const privacyPolicy = {
    title: 'Privacy Policy',
    lastUpdated: 'March 12, 2026',
    intro: [
        'mifi Ventures LLC respects your privacy and is committed to protecting personal information shared through this website and related communications.',
        'This policy explains what information we collect, how it is used, and how it is protected.',
    ],
    sections: [
        {
            id: 'information-we-collect',
            heading: 'Information We Collect',
            body: [
                'We may collect limited personal information when you interact with the website or contact us.',
                'This may include:',
            ],
        },
        {
            id: 'contact-information',
            heading: 'Contact Information',
            body: [],
            list: ['Name', 'Email address', 'Phone number'],
        },
        {
            id: 'communication-data',
            heading: 'Communication Data',
            body: [
                'Information you provide when contacting us through email, contact forms, or SMS.',
            ],
        },
        {
            id: 'technical-information',
            heading: 'Technical Information',
            body: [
                'Basic technical information collected through analytics or server logs, such as:',
            ],
            list: ['IP address', 'Browser type', 'Pages visited', 'Device type'],
        },
        {
            id: 'technical-information-use',
            heading: 'Use of technical information',
            body: [
                'This information is used only to maintain the website, improve performance, and monitor security.',
            ],
        },
        {
            id: 'analytics-and-tracking',
            heading: 'Analytics and Tracking Technologies',
            body: [
                'We use a mix of first-party and third-party analytics tools to understand how visitors use this website and to improve our services.',
                'We use Umami as a first-party analytics tool to measure aggregate usage of this site for internal reporting and performance insights; Umami data is not sold or shared for third-party advertising.',
                'We partner with Microsoft Clarity and Microsoft Advertising to capture how you use and interact with our website through behavioral metrics, heatmaps, and session replay to improve and market our products and services. Website usage data is captured using first- and third-party cookies and similar tracking technologies to determine the popularity of content and online activity. We also use this information for site optimization, security and fraud detection, and advertising. These third-party tools only run if you consent to non-essential analytics via our cookie banner.',
                'For more information about how Microsoft collects and uses your data, see the Microsoft Privacy Statement: https://www.microsoft.com/privacy/privacystatement.',
                'We also use Google Analytics (only if you consent) to collect information about website usage, such as pages visited, time on site, and browser and device information. Google Analytics uses cookies and similar technologies to help us analyze how visitors use the site and to compile aggregated statistics.',
                'You can learn more about how Google handles data in Google Analytics at: https://policies.google.com/privacy and https://policies.google.com/technologies/partner-sites.',
                'We store your analytics preference (for example, whether you accepted or rejected non-essential analytics) in a small piece of first-party device storage so we can remember your choice on future visits.',
            ],
            links: [
                {
                    href: 'https://www.microsoft.com/privacy/privacystatement',
                    label: 'Microsoft Privacy Statement',
                },
                {
                    href: 'https://policies.google.com/privacy',
                    label: 'Google Privacy Policy',
                },
                {
                    href: 'https://policies.google.com/technologies/partner-sites',
                    label: 'How Google uses data from sites and apps',
                },
            ],
        },
        {
            id: 'how-we-use',
            heading: 'How We Use Information',
            body: ['Information collected may be used to:'],
            list: [
                'Respond to inquiries',
                'Provide consulting or development services',
                'Communicate with clients',
                'Improve website functionality',
                'Maintain security and prevent abuse',
            ],
        },
        {
            id: 'messaging-policy',
            heading: 'Messaging Policy (SMS)',
            body: [
                'mifi Ventures uses SMS messages only for direct, conversational communication with clients or prospective clients.',
            ],
            subsections: [
                {
                    title: 'Purpose',
                    body: ['SMS may be used for:'],
                    list: [
                        'Responding to inbound inquiries',
                        'Scheduling and appointment coordination',
                        'Project and service-related communication',
                        'Status updates and time-sensitive notifications requested by the client',
                    ],
                },
                {
                    title: 'No Marketing / No Sale of Data',
                    body: [
                        'We do not send unsolicited marketing text messages. We do not sell, rent, or share phone numbers for marketing purposes.',
                    ],
                },
                {
                    title: 'Consent',
                    body: [
                        'You provide consent by initiating contact with us, requesting communication by text, and/or providing your phone number for communication related to your inquiry or services.',
                    ],
                },
                {
                    title: 'Opt-Out',
                    body: [
                        'You may opt out at any time by replying STOP. After opting out, you will no longer receive SMS messages unless you re-initiate contact.',
                    ],
                },
                {
                    title: 'Message Frequency and Rates',
                    body: [
                        'Message frequency varies depending on the nature of the communication. Standard message and data rates may apply depending on your mobile carrier.',
                    ],
                },
                {
                    title: 'Support',
                    body: ['For support, contact: contact@mifi.ventures'],
                },
            ],
        },
        {
            id: 'sms-phone-communications',
            heading: 'SMS and Phone Communications',
            body: [
                'If you provide a phone number when contacting us, we may respond via phone call or SMS.',
                'SMS messages are used only for direct communication with clients or prospective clients, including scheduling, service communication, or responses to inquiries.',
                'We do not send unsolicited marketing messages.',
                'You may opt out of SMS communication at any time by replying STOP.',
            ],
        },
        {
            id: 'data-security',
            heading: 'Data Security',
            body: [
                'mifi Ventures implements reasonable administrative and technical safeguards to protect personal information.',
                'Security measures may include:',
            ],
            list: [
                'Encrypted website connections (HTTPS)',
                'Secure hosting infrastructure',
                'Restricted access to internal systems',
            ],
        },
        {
            id: 'data-security-note',
            heading: 'Security limitations',
            body: [
                'While we take reasonable precautions, no online system can guarantee absolute security.',
            ],
        },
        {
            id: 'data-sharing',
            heading: 'Data Sharing',
            body: [
                'mifi Ventures does not sell, rent, or trade personal information.',
                'Information may be shared only when necessary with trusted service providers that support the operation of the website or business services. These providers are required to protect the confidentiality of the data they process.',
            ],
        },
        {
            id: 'data-retention',
            heading: 'Data Retention',
            body: [
                'Personal information is retained only for as long as necessary to fulfill communication, operational, or legal obligations.',
            ],
        },
        {
            id: 'your-rights',
            heading: 'Your Rights',
            body: [
                'Depending on your jurisdiction, you may have the right to: request access to personal data; request correction or deletion of data; withdraw consent for communications.',
                'If you are located in a region with specific data protection laws (such as the European Economic Area or the United Kingdom), you may have additional rights under those laws; we will handle such requests in line with applicable legal requirements.',
                'Requests may be submitted using the contact information below.',
            ],
            list: [
                'Request access to personal data',
                'Request correction or deletion of data',
                'Withdraw consent for communications',
            ],
        },
        {
            id: 'policy-updates',
            heading: 'Policy Updates',
            body: [
                'This Privacy Policy may be updated periodically to reflect operational or legal changes. The updated date will appear at the top of the page.',
            ],
        },
        {
            id: 'contact',
            heading: 'Contact',
            body: [
                'Questions regarding this Privacy Policy may be directed to:',
                'mifi Ventures LLC',
                'legal@mifi.ventures',
                'https://mifi.ventures',
            ],
        },
    ] as LegalSection[],
};
