import{r as e}from"./markdown-Biq8ujIZ.js";import{Ot as t,ft as n,r}from"./index-B3ZlwJ0J.js";var i=e(),a=`# Terms of Service

_Last updated: June 2026_

Welcome to **StudySphere**, a product of Titlers Technology. By creating an account or using StudySphere (web, desktop, Android app, or the StudyGuard browser extension), you agree to these Terms.

## 1. Using StudySphere
StudySphere provides study tools (Pomodoro, tasks, notes, calendar, question bank, AI study aids, analytics, and the StudyGuard focus blocker) for personal, educational use. You must be old enough to consent to these Terms in your jurisdiction, or have a parent/guardian's consent.

## 2. Your account
You are responsible for keeping your login credentials secure and for all activity under your account. Notify us immediately of any unauthorised use.

## 3. Your content
You keep ownership of the notes, tasks, files, and other content you create. You grant us only the permission needed to store and sync that content so the service works across your devices.

## 4. AI features
AI-generated content (summaries, questions, flashcards, chat) is provided for study assistance and may be inaccurate. Always verify important information. AI features use your own API key, which is stored privately in your account.

## 5. StudyGuard focus blocker
StudyGuard is an optional self-control tool that blocks distracting apps and websites that **you** select, during focus sessions you start. On Android it uses Accessibility and Usage Access permissions; on PC it uses the optional StudyGuard browser extension. You are responsible for the apps/sites you choose to block. StudyGuard is a productivity aid and not a security or parental-control product.

## 6. Google Calendar
If you connect Google Calendar, you authorise StudySphere to read and write your calendar events solely to keep them in sync with your StudySphere calendar. You can disconnect at any time from the Calendar page.

## 7. Acceptable use
Do not misuse the service, attempt to access other users' data, or use StudySphere for unlawful purposes.

## 8. Availability
StudySphere is provided "as is". We may update, suspend, or discontinue features at any time.

## 9. Changes
We may update these Terms; continued use after changes means you accept them.

## 10. Contact
Questions? Contact support@titlerstechnology.com.`,o=`# Privacy Policy

_Last updated: June 2026_

Your privacy matters. This policy explains what StudySphere (by Titlers Technology) collects and how it is used.

## What we collect
- **Account info**: name, email, and profile details you provide (school, exam, target year, etc.).
- **Your study data**: tasks, notes, focus sessions, calendar events, quiz history, AI chats, and progress you create.
- **Tracker data**: if you run the optional desktop tracker, your study-time snapshots.

## How it is stored
Your data is stored in **Firebase Realtime Database**, secured so that **only you** can read or write your own data (enforced by per-user security rules). Authentication is handled by **Firebase Authentication**.

## Google Calendar (optional)
If you choose to connect Google Calendar, StudySphere requests access to your calendar events (the \`calendar.events\` scope) **only** to sync events between Google Calendar and StudySphere. The event details are stored in your private StudySphere database so they appear in your calendar. We do not use this data for advertising and do not share it. You can disconnect at any time, which stops further access.

**Limited Use:** StudySphere's use and transfer of information received from Google APIs adheres to the [Google API Services User Data Policy](https://developers.google.com/terms/api-services-user-data-policy), including the **Limited Use** requirements.

## Device permissions (Android app)
The StudyGuard blocker on Android uses **Usage Access** and an **Accessibility Service** to detect and block the apps/websites you choose during focus sessions. This processing happens **on your device** — your app-usage and browsing data are **not** uploaded to our servers; only your chosen blocklist (which you create) is synced.

## StudyGuard browser extension (PC)
The optional extension reads the address of the page you are visiting **only** to check it against the blocklist you selected, and redirects blocked sites to a focus screen during sessions. It does **not** collect, store, or transmit your browsing history.

## AI features
When you use AI features, the relevant text/images are sent to the AI provider (Groq) using **your own API key**. Your key is stored privately in your account and is never shared. AI chat history is stored in your private StudySphere database and can be deleted anytime.

## What we do not do
- We do not sell your data.
- We do not use your data for advertising.
- We do not share your personal data with third parties except the infrastructure needed to run the service (e.g. Firebase, your chosen AI provider, Google when you connect Calendar).

## Your control
- **Export**: download your data anytime from Settings.
- **Delete**: clear study data, quiz history, or AI chat from within the app, disconnect Google Calendar, or contact us to delete your account.

## Contact
Privacy questions? Contact support@titlerstechnology.com.`;function s({kind:e}){return(0,i.jsx)(`div`,{className:`min-h-screen bg-surface-muted py-10`,children:(0,i.jsxs)(`div`,{className:`mx-auto max-w-2xl px-5`,children:[(0,i.jsxs)(t,{to:`/login`,className:`mb-6 inline-flex items-center gap-1.5 text-sm text-text-muted hover:text-text`,children:[(0,i.jsx)(n,{size:16}),` Back`]}),(0,i.jsx)(`div`,{className:`rounded-2xl border border-border bg-surface p-6 sm:p-8`,children:(0,i.jsx)(r,{children:e===`terms`?a:o})}),(0,i.jsx)(`div`,{className:`mt-4 text-center text-sm text-text-muted`,children:e===`terms`?(0,i.jsx)(t,{to:`/privacy`,className:`text-brand-600 hover:underline`,children:`Privacy Policy`}):(0,i.jsx)(t,{to:`/terms`,className:`text-brand-600 hover:underline`,children:`Terms of Service`})})]})})}export{s as default};