1import{j as e,L as r}from"./main-Be8DfOzT.js";import{S as s}from"./separator-CxsyDRQ9.js";import{A as a}from"./arrow-left-CnSIPGKV.js";import{L as t,S as i}from"./server-BK7SIOnY.js";import{c as l}from"./createLucideIcon-DxhPd5GQ.js";import"./utils-k_vAkSgt.js";import"./Separator-BaKtQFeQ.js";const n=[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}]],o=l("shield",n);function y(){return e.jsxs("div",{className:"min-h-screen bg-background",children:[e.jsx("header",{className:"border-b",children:e.jsx("div",{className:"max-w-4xl mx-auto px-6 py-4",children:e.jsxs("div",{className:"flex items-center justify-between",children:[e.jsxs(r,{to:"/",className:"flex items-center gap-2 text-foreground hover:text-foreground",children:[e.jsx("img",{src:"/logo192.png",alt:"Sleep Matter",className:"w-8 h-8 rounded-lg"}),e.jsx("span",{className:"font-bold text-lg",children:"Sleep Matter"})]}),e.jsxs(r,{to:"/",className:"text-sm text-muted-foreground hover:text-foreground flex items-center gap-1",children:[e.jsx(a,{className:"w-4 h-4"}),"Back to Home"]})]})})}),e.jsxs("main",{className:"max-w-4xl mx-auto px-6 py-12",children:[e.jsxs("div",{className:"mb-8",children:[e.jsx("h1",{className:"text-3xl md:text-4xl font-bold mb-2",children:"Privacy Policy"}),e.jsx("p",{className:"text-muted-foreground",children:"Last Updated: February 6, 2026"})]}),e.jsxs("div",{className:"prose prose-slate dark:prose-invert max-w-none",children:[e.jsx("p",{className:"text-lg text-muted-foreground mb-8",children:"Welcome to Sleep Matter! We are committed to protecting your privacy and giving you full control over your health data. This Privacy Policy explains how we collect, use, and protect your personal information."}),e.jsxs("div",{className:"grid md:grid-cols-3 gap-4 mb-12 not-prose",children:[e.jsxs("div",{className:"p-4 bg-primary/5 border border-primary/10 rounded-lg text-center",children:[e.jsx(t,{className:"w-8 h-8 text-primary mx-auto mb-2"}),e.jsx("p",{className:"font-medium text-sm",children:"On-Device Processing"})]}),e.jsxs("div",{className:"p-4 bg-primary/5 border border-primary/10 rounded-lg text-center",children:[e.jsx(o,{className:"w-8 h-8 text-primary mx-auto mb-2"}),e.jsx("p",{className:"font-medium text-sm",children:"Never Sold or Shared"})]}),e.jsxs("div",{className:"p-4 bg-primary/5 border border-primary/10 rounded-lg text-center",children:[e.jsx(i,{className:"w-8 h-8 text-primary mx-auto mb-2"}),e.jsx("p",{className:"font-medium text-sm",children:"Full Data Control"})]})]}),e.jsxs("section",{className:"mb-8",children:[e.jsx("h2",{className:"text-2xl font-semibold mb-4",children:"1. Information We Collect"}),e.jsx("p",{className:"mb-4",children:"We only collect the minimum information necessary to provide and improve our services."}),e.jsx("h3",{className:"text-xl font-medium mb-3",children:"1.1 Information You Provide"}),e.jsx("ul",{className:"list-disc pl-6 mb-6 space-y-2",children:e.jsxs("li",{children:[e.jsx("strong",{children:"Account Information"}),": When you create an account, we may collect your email address and username. We do not require your real name."]})}),e.jsx("h3",{className:"text-xl font-medium mb-3",children:"1.2 Health Data via HealthKit"}),e.jsx("p",{className:"mb-4",children:"With your explicit consent, we access the following health data through Apple's HealthKit framework:"}),e.jsxs("ul",{className:"list-disc pl-6 mb-6 space-y-2",children:[e.jsxs("li",{children:[e.jsx("strong",{children:"Sleep Analysis"}),": To track and analyze your sleep stages (e.g., Core, Deep, REM)."]}),e.jsxs("li",{children:[e.jsx("strong",{children:"Heart Rate"}),": To assess sleep quality and resting heart rate."]}),e.jsxs("li",{children:[e.jsx("strong",{children:"Activity Data"}),": Such as steps and active energy, to analyze the correlation between daytime activity and nighttime sleep."]})]}),e.jsx("div",{className:"bg-primary/10 border border-primary/20 rounded-lg p-4 my-6",children:e.jsx("p",{className:"text-primary font-medium",children:"Important: All HealthKit data requires your explicit permission before it is accessed. You can revoke these permissions at any time in the iOS Health app."})}),e.jsx("h3",{className:"text-xl font-medium mb-3",children:"1.3 Automatically Collected Technical Information"}),e.jsxs("ul",{className:"list-disc pl-6 space-y-2",children:[e.jsxs("li",{children:[e.jsx("strong",{children:"Device Information"}),": We collect anonymous information about your device, such as model and OS version, to optimize app performance and fix bugs."]}),e.jsxs("li",{children:[e.jsx("strong",{children:"Usage Data"}),": We collect anonymous usage data, such as feature frequency, to understand user preferences and improve our product. This data is not linked to your personal identity."]})]})]}),e.jsx(s,{className:"my-8"}),e.jsxs("section",{className:"mb-8",children:[e.jsx("h2",{className:"text-2xl font-semibold mb-4",children:"2. How We Use Your Information"}),e.jsx("p",{className:"mb-4",children:"We strictly adhere to Apple's Developer Guidelines and never use your health data for advertising or data mining."}),e.jsxs("ul",{className:"list-disc pl-6 space-y-3",children:[e.jsxs("li",{children:[e.jsx("strong",{children:"To Provide Core Services"}),": We use your sleep data to generate your sleep reports, analyze trends, and provide energy optimization insights."]}),e.jsxs("li",{children:[e.jsx("strong",{children:"To Improve Our Algorithms"}),": We may use ",e.jsx("strong",{children:"fully anonymized and aggregated"})," health data to research and improve our sleep analysis algorithms. This data cannot be traced back to any individual."]}),e.jsxs("li",{children:[e.jsx("strong",{children:"To Communicate With You"}),": We may use your email address to send you important service notifications, updates, or respond to your support requests."]})]})]}),e.jsx(s,{className:"my-8"}),e.jsxs("section",{className:"mb-8",children:[e.jsx("h2",{className:"text-2xl font-semibold mb-4",children:"3. Data Sharing and Disclosure"}),e.jsxs("div",{className:"bg-destructive/10 border border-destructive/20 rounded-lg p-4 mb-6",children:[e.jsx("p",{className:"font-semibold text-destructive mb-2",children:"We will never sell your personal data."}),e.jsx("p",{children:"We have strict restrictions on data sharing."})]}),e.jsxs("ul",{className:"list-disc pl-6 space-y-3",children:[e.jsxs("li",{children:[e.jsx("strong",{children:"Third-Party AI Models"}),": We ",e.jsx("strong",{children:"do not"})," share your personally identifiable health data with any third-party AI models. All of our AI analysis is performed on-device or within our secure servers using our proprietary models."]}),e.jsxs("li",{children:[e.jsx("strong",{children:"Service Providers"}),": We may share information with trusted third-party service providers (e.g., server hosting) who are subject to strict confidentiality agreements and may only use the data for the purpose of providing services to us."]}),e.jsxs("li",{children:[e.jsx("strong",{children:"Legal Requirements"}),": We may disclose your information if required by law to comply with a subpoena, court order, or similar legal process."]})]}),e.jsx("p",{className:"mt-4 text-muted-foreground",children:"As per Apple's policy, we declare all data usage purposes and third-party SDK practices in our Privacy Manifest."})]}),e.jsx(s,{className:"my-8"}),e.jsxs("section",{className:"mb-8",children:[e.jsx("h2",{className:"text-2xl font-semibold mb-4",children:"4. Your Rights and Controls"}),e.jsx("p",{className:"mb-4",children:"You have complete control over your data."}),e.jsxs("ul",{className:"list-disc pl-6 mb-6 space-y-3",children:[e.jsxs("li",{children:[e.jsx("strong",{children:"Access and Correction"}),": You can access and edit your personal information within the app at any time."]}),e.jsxs("li",{children:[e.jsx("strong",{children:"Data Export"}),": You can export your raw sleep data from the app at any time."]}),e.jsxs("li",{children:[e.jsx("strong",{children:"Revoke Consent"}),": You can revoke Sleep Matter's access to your HealthKit data at any time in the iOS Health app."]}),e.jsxs("li",{children:[e.jsx("strong",{children:"Account Deletion"}),": You can request to delete your account from within the app at any time. Upon deletion, all your personal data will be permanently removed from our servers."]})]}),e.jsx("h3",{className:"text-xl font-medium mb-3",children:"Rights for EU (GDPR) and California (CCPA) Residents"}),e.jsx("p",{className:"mb-4",children:"If you are a resident of the European Union or California, you have additional rights, including:"}),e.jsxs("ul",{className:"list-disc pl-6 space-y-2",children:[e.jsxs("li",{children:[e.jsx("strong",{children:"Right to be Forgotten"}),": To request that we delete all of your personal data."]}),e.jsxs("li",{children:[e.jsx("strong",{children:"Data Portability"}),": To receive your data in a structured, commonly used format."]})]}),e.jsx("div",{className:"bg-info/10 border border-info/20 rounded-lg p-4 mt-4",children:e.jsx("p",{className:"text-info",children:'For EU users, health data is considered a "special category of personal data," and we provide the highest level of protection in accordance with GDPR Article 9.'})})]}),e.jsx(s,{className:"my-8"}),e.jsxs("section",{className:"mb-8",children:[e.jsx("h2",{className:"text-2xl font-semibold mb-4",children:"5. Data Security"}),e.jsx("p",{className:"mb-4",children:"We use industry-leading security measures to protect your data."}),e.jsxs("ul",{className:"list-disc pl-6 space-y-3",children:[e.jsxs("li",{children:[e.jsx("strong",{children:"Encryption in Transit"}),": All network communication is encrypted via TLS/SSL, in compliance with Apple's App Transport Security (ATS) requirements."]}),e.jsxs("li",{children:[e.jsx("strong",{children:"Encryption at Rest"}),": Your data is stored encrypted on our servers and on your device."]}),e.jsxs("li",{children:[e.jsx("strong",{children:"Data Minimization"}),": We only collect and store the minimum data necessary to provide our services."]})]})]}),e.jsx(s,{className:"my-8"}),e.jsxs("section",{className:"mb-8",children:[e.jsx("h2",{className:"text-2xl font-semibold mb-4",children:"6. Children's Privacy"}),e.jsx("p",{children:"Our services are not directed to children under the age of 13. We do not knowingly collect personal information from children under 13. If we become aware that we have inadvertently collected such information, we will take steps to delete it immediately."})]}),e.jsx(s,{className:"my-8"}),e.jsxs("section",{className:"mb-8",children:[e.jsx("h2",{className:"text-2xl font-semibold mb-4",children:"7.
1Changes to This Privacy Policy"}),e.jsx("p",{children:"We may update this Privacy Policy from time to time. If we make material changes, we will notify you via email or through an in-app notification."})]}),e.jsx(s,{className:"my-8"}),e.jsxs("section",{className:"mb-8",children:[e.jsx("h2",{className:"text-2xl font-semibold mb-4",children:"8. Contact Us"}),e.jsx("p",{className:"mb-4",children:"If you have any questions or concerns about this Privacy Policy, please contact us:"}),e.jsxs("ul",{className:"list-none space-y-2",children:[e.jsxs("li",{children:[e.jsx("strong",{children:"Email"}),": [email protected]"]}),e.jsxs("li",{children:[e.jsx("strong",{children:"Website"}),":"," ",e.jsx("a",{href:"https://sleepmatter.ai/privacy",className:"text-primary hover:underline",children:"https://sleepmatter.ai/privacy"})]})]})]}),e.jsx(s,{className:"my-8"}),e.jsxs("section",{className:"mb-8",children:[e.jsx("h2",{className:"text-2xl font-semibold mb-4",children:"9. References"}),e.jsx("p",{className:"mb-4 text-muted-foreground",children:"This policy was drafted in accordance with the following official guidelines and regulations:"}),e.jsxs("ol",{className:"list-decimal pl-6 space-y-2 text-sm",children:[e.jsxs("li",{children:["Apple Inc. (2026). ",e.jsx("em",{children:"HealthKit Human Interface Guidelines"}),"."," ",e.jsx("a",{href:"https://developer.apple.com/design/human-interface-guidelines/healthkit",className:"text-primary hover:underline",children:"https://developer.apple.com/design/human-interface-guidelines/healthkit"})]}),e.jsxs("li",{children:["Apple Inc. (2026). ",e.jsx("em",{children:"App Store Review Guidelines, 5.1.3 - Health and Health Research"}),"."," ",e.jsx("a",{href:"https://developer.apple.com/app-store/review/guidelines/#health-and-health-research",className:"text-primary hover:underline",children:"https://developer.apple.com/app-store/review/guidelines/#health-and-health-research"})]}),e.jsxs("li",{children:["Apple Inc. (2025). ",e.jsx("em",{children:"Privacy updates for your app"}),"."," ",e.jsx("a",{href:"https://developer.apple.com/news/?id=ey6d8onl",className:"text-primary hover:underline",children:"https://developer.apple.com/news/?id=ey6d8onl"})]}),e.jsxs("li",{children:["Apple Inc. (2026). ",e.jsx("em",{children:"Privacy manifest files"}),"."," ",e.jsx("a",{href:"https://developer.apple.com/documentation/bundleresources/privacy-manifest-files",className:"text-primary hover:underline",children:"https://developer.apple.com/documentation/bundleresources/privacy-manifest-files"})]}),e.jsxs("li",{children:["European Union. (2018). ",e.jsx("em",{children:"General Data Protection Regulation (GDPR), Article 9"}),"."," ",e.jsx("a",{href:"https://gdpr-info.eu/art-9-gdpr/",className:"text-primary hover:underline",children:"https://gdpr-info.eu/art-9-gdpr/"})]}),e.jsxs("li",{children:["Apple Inc. (2026). ",e.jsx("em",{children:"Preventing Insecure Network Connections"}),"."," ",e.jsx("a",{href:"https://developer.apple.com/documentation/security/preventing-insecure-network-connections",className:"text-primary hover:underline",children:"https://developer.apple.com/documentation/security/preventing-insecure-network-connections"})]})]})]})]})]}),e.jsx("footer",{className:"border-t py-8 px-6",children:e.jsx("div",{className:"max-w-4xl mx-auto",children:e.jsxs("div",{className:"flex flex-col md:flex-row items-center justify-between gap-4",children:[e.jsxs("div",{className:"flex items-center gap-2",children:[e.jsx("img",{src:"/logo192.png",alt:"Sleep Matter",className:"w-6 h-6 rounded-lg"}),e.jsx("span",{className:"font-semibold",children:"Sleep Matter"})]}),e.jsx("p",{className:"text-sm text-muted-foreground",children:"© 2026 Sleep Matter Inc. All rights reserved."})]})})})]})}export{y as component};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.