{"sourceCommit":"bcb90f9a5b945d38f5e3fdf86fbe464b5c57447e","sourceRepository":"https://github.com/sharonsheah/busybeedoc","capturedAt":"2026-10-31","status":"append-only source snapshot; not evidence of production deployment or individual acceptance","files":[{"source":"apps/marketing-site-v2/docs/legal/data-processing-agreement.md","snapshot":"apps/marketing-site-v2/docs/legal/data-processing-agreement.md.txt","sha256":"db8341b3eec77cc3c83c021f3753de6207b779550d5afb207dd04f373f917b74","bytes":7555,"content":"# BusyBeeDoc — Data Processing Agreement (Click-Wrap)\n\n> This DPA is incorporated by reference into the Master Services Agreement and is accepted\n> at the same moment, by the same click. It is **not** a separate signed Schedule — it forms\n> part of the one click-wrapped Agreement. It is standardised for every customer and tier.\n>\n> Canonical source. The marketing-site `/dpa` page renders from this.\n\n**Version:** 1.0\n**Effective date:** 11 June 2026\n\n---\n\nThis Data Processing Agreement (**\"DPA\"**) describes how **BusyBee Labs Pty Ltd**, trading as BusyBeeDoc (**\"Processor\"**), handles patient and personal information on behalf of the Australian medical practice that has subscribed (**\"Controller\"**). It forms part of the Master Services Agreement between BusyBeeDoc and the Controller. If there is any inconsistency between this DPA and the rest of that Agreement, **this DPA prevails** on data-processing matters.\n\nThis DPA is governed by the laws of Victoria, Australia, and should be read alongside our Privacy Policy (`/privacy`) and the Master Services Agreement (`/terms`).\n\n## 1. Roles\n\nThe Controller determines the purpose and means of processing Patient Data. The Processor handles Patient Data only on the Controller's behalf and under its documented instructions. Both parties comply with the *Privacy Act 1988* (Cth) and the Australian Privacy Principles (APPs). The Controller, as a health service provider, acknowledges that Health Information attracts additional protections under applicable Australian privacy legislation.\n\n## 2. What we process and why\n\nThe Processor handles Patient Data solely to:\n\n- Operate patient intake and referral forms on the Controller's website.\n- Store form submissions for retrieval by the Controller through the portal.\n- Send administrative email notifications to the practice.\n- Provide technical maintenance and security monitoring.\n\nPatient Data is **not** used for marketing, AI training, profiling, or disclosed to third parties without the Controller's written consent.\n\n## 3. Data storage and residency\n\nAll Patient Data is stored exclusively in Australia on AWS Asia Pacific (Sydney) infrastructure (ap-southeast-2). Data is not transferred outside Australia without the Controller's prior written consent.\n\n- **Database:** Supabase on AWS ap-southeast-2 — per-client schema isolation and row-level security (RLS).\n- **File storage:** Amazon S3 ap-southeast-2 — per-client key prefix isolation, private access only.\n- **Email delivery:** Amazon SES ap-southeast-2.\n\n## 4. Email notifications and reasonable security measures\n\nEmail is standard and accepted practice for administrative notifications in Australian medical settings, consistent with OAIC guidance and RACGP 5th edition standards. The Processor applies TLS 1.2+ encryption in transit via Amazon SES; SPF, DKIM, and DMARC sender authentication; and Australian mail infrastructure throughout.\n\nStandard notification emails to the practice may include basic patient contact details sufficient to action an enquiry (name, date of birth, phone, reason for contact, medication name for script repeats, referral reason). Uploaded files are **never** attached to an email, and full clinical records are never reproduced in an email body.\n\nHow an uploaded document reaches the practice depends on the delivery mode configured for that practice:\n\n- **Portal delivery** — the notification contains a link to the authenticated portal. The file is reachable only after sign-in, and every view and download is logged.\n- **Email delivery** — the notification contains a time-limited download link, currently valid for 7 days. Anyone with access to that email can open the link without signing in. We provide this at the Controller's direction; the Controller is responsible for its practice inbox access controls and accepts the associated risk.\n\nPortal delivery is the more secure option and the one we recommend. A practice may ask us to change its delivery mode at any time.\n\nPatient confirmation emails may include information the patient themselves submitted (their name, form type, summary of request), consistent with standard Australian GP practice. The patient's act of submitting the form constitutes implied consent to receive a confirmation email at the address provided.\n\n## 5. Security\n\nThe Processor maintains:\n\n- TLS 1.2+ encryption in transit.\n- AES-256 encryption at rest.\n- Per-client data isolation with row-level security.\n- Authenticated access controls on all Patient Data endpoints.\n- Spam and bot filtering on all form endpoints.\n- Automated daily backups retained for 7 days within ap-southeast-2.\n- Uptime monitoring.\n\nS3 file objects are stored with private ACL and are never publicly accessible. Under portal delivery, access is via a short-lived presigned URL (30 minutes) generated only on an authenticated portal request. Under email delivery, the presigned link included in the notification is valid for 7 days and does not require sign-in.\n\n## 6. Subprocessors\n\nWe use a short list of Australian-hosted service providers to operate the portal. Each is bound by contract to protect information and process it only on our instructions.\n\n| Subprocessor | Purpose |\n|---|---|\n| Supabase (AWS ap-southeast-2) | Database — stores form submissions and patient data |\n| Amazon S3 (ap-southeast-2) | File storage — patient-uploaded files (private ACL) |\n| Amazon SES (ap-southeast-2) | Email delivery — notifications and confirmations |\n| Stripe Payments Australia | Payment processing — billing data only; no Patient Data |\n| Cloudflare | DNS / CDN — no patient data stored or processed |\n\nThe Processor will give at least **14 days'** written notice of any proposed addition or replacement of subprocessors that handle Patient Data. (This notice is given by email and by updating this DPA; continued use after the notice period constitutes acceptance — consistent with clause 14 of the Master Services Agreement.)\n\n## 7. Retention and deletion\n\nPatient Data is retained only as long as necessary to provide the Services or as required by law. Uploaded documents are automatically deleted from file storage **90 days** after they are received by default.\n\nOn termination of the Agreement, the Processor will provide a full data export to the Controller and securely delete all Patient Data from its systems within **30 days**, subject to any applicable legal retention obligations and to all outstanding fees being paid in full.\n\n## 8. Data breach notification\n\nThe Processor will notify the Controller within **72 hours** of becoming aware of a suspected or confirmed data breach involving Patient Data, including a description of the breach, categories of data affected, and steps taken. The Controller, as data controller, is responsible for assessing obligations under the Notifiable Data Breaches (NDB) scheme and making any required notifications to the OAIC and affected individuals.\n\n## 9. Data subject rights\n\nWhere a patient exercises rights under the *Privacy Act 1988* (Cth) — including access, correction, or complaint — the Controller is the primary contact. The Processor will assist the Controller in fulfilling such requests within **7 business days** of a written request.\n\n## 10. Contact\n\n**Processor privacy contact**\nBusyBee Labs Pty Ltd, trading as BusyBeeDoc — ABN 68 688 853 723\nEmail: hello@busybeedoc.com\n\n**Controller privacy contact** — the privacy contact your practice nominates in its account.\n\n**Regulator — OAIC:** www.oaic.gov.au · 1300 363 992\n"},{"source":"apps/marketing-site-v2/docs/legal/us-service-terms.md","snapshot":"apps/marketing-site-v2/docs/legal/us-service-terms.md.txt","sha256":"eac5734920be1a747dfb87683b2e0718a8e14a315d99dd48afebc21a99de2f0a","bytes":9508,"content":"## About these terms\n\nThese standard US Service Terms apply to public website and marketing services supplied by BusyBee Labs Pty Ltd (ABN 68 688 853 723), trading as BusyBeeDoc, to a practice in the United States. We are an Australian company. We do not represent that we have a US office or that our clinical reviewer holds a US medical license.\n\nThese terms apply to all US plans. Your Order identifies the plan, selected services, approved scope, fees, third-party costs, start date and support arrangements. It does not replace these terms with a separately drafted contract. Before work or billing starts, we provide the Order and the version of these terms for your express acceptance. Browsing this website or sending a business inquiry does not accept an Order, start a subscription or authorize a payment.\n\nOur Australian service agreement and Australian patient-data platform agreement do not apply to this US offer. Our [US Privacy Policy](/us/privacy-policy) explains how we handle business contact information.\n\n## Services and website scope\n\nThe plans and inclusions are described on our [US pricing page](/us/pricing). The standard website build covers one practice location, up to eight initial core pages, agreed copy and two design revision rounds. Ongoing care includes routine content and design edits within the agreed site, maintenance, monitoring, backup checks and support.\n\nAdditional locations, migrations, major redesigns, new functionality, translation, photography, printing, advertising and patient-data workflows are separately scoped and priced. We obtain agreement before undertaking additional paid work. Public content requires your approval before publication. Delays in providing information, access or approvals may change the delivery schedule; we will tell you when that happens.\n\n## Prices, billing and third-party costs\n\nUS prices are stated in US dollars (USD), not Australian dollars. The current rates appear on our [US pricing page](/us/pricing), and the amount you agree to pay is recorded in your Order. Applicable taxes and separately identified third-party charges are additional. We identify the total and any applicable tax before you commit; this page does not assume a particular tax treatment for every customer.\n\nLaunch includes the standard build in its first-year fee. The first 12 months are paid upfront, followed by monthly billing. Growth + Search, Growth + Social and Accelerate are billed monthly from the start. Growth + Social covers one channel. No separate standard website build fee is added to these plans.\n\nDomain registration, hosting subscriptions and other third-party services are additional. Your practice owns its domain and hosting accounts and grants us the access needed to manage the agreed work. Any third-party subscription remains subject to that provider's terms. We identify required subscriptions before work starts.\n\nIf an agreed payment remains unpaid 14 days after we notify you, we may suspend our services after at least a further 48 hours' notice. We will explain the impact and the steps needed to restore service.\n\n## Term, cancellation and changes\n\nLaunch has an initial 12-month term and then continues monthly. You may cancel after the initial term with 30 days' written notice. Growth + Search, Growth + Social and Accelerate are month-to-month and may be canceled with 30 days' written notice. Send notice to [hello@busybeedoc.com](mailto:hello@busybeedoc.com). There is no separate early-exit fee. Fees already paid are not refunded except where required by applicable law or expressly agreed in the Order.\n\nSeparately quoted projects have their scope, schedule, payment and cancellation arrangements disclosed before acceptance. An inquiry about a project does not create a purchase or ongoing plan.\n\nWe may end ongoing services on 30 days' written notice, or suspend or end them sooner for a serious breach, a security risk or a legal requirement. We will explain the reason where we are permitted to do so. When our management ends, you retain your practice-owned accounts and remain responsible for their subscriptions. We provide a reasonable handover of your website source and content and remove our delegated access. Separately licensed services do not transfer automatically.\n\nWe do not silently replace the terms you accepted. Material changes to prices, scope or these terms require notice at least 30 days before the proposed change and your express agreement before they apply to your Order. Mandatory rights under applicable law are preserved.\n\n## Support and working arrangements\n\nOur team works from Australia. Before starting, we agree meeting windows, support channels and response expectations in your time zone and record them in your Order. Ongoing support does not include 24/7 coverage, emergency clinical support, patient inbox management or answering patient direct messages. New functionality and major redesigns require a separate scope.\n\nWe discuss hosting regions and overseas administrative access before setup. A public website's delivery network may operate globally; a Sydney-based team or server does not mean every provider processes all information in one country.\n\n## Patient data and HIPAA\n\nStandard plans cover public websites and approved marketing content. Patient booking, messages and intake link to your practice-approved systems. Do not send patient records, clinical messages, identifying case examples or other protected health information (PHI) through our business inquiry form, project emails, support channels or standard website backend.\n\nA patient form, embedded booking widget, analytics or advertising tag, integration, or other feature that could involve patient information requires a separate review of its actual data flow before implementation. A public website or a link to an approved system is not, by itself, a determination that HIPAA or other privacy obligations cannot apply.\n\nWhere a requested workflow would make us or a supplier a business associate, the necessary business associate agreement (BAA), safeguards, access controls, hosting and support arrangements, notifications, retention and responsibilities must be established before PHI is processed. A vendor subscription or this agreement is not a BAA. Our Australian DPA does not authorize processing US patient information. No US patient workflow is included or enabled by accepting a standard marketing plan.\n\nIf patient information is sent to us unexpectedly, contact us promptly. We will restrict its use and work with you on appropriate containment and handling; this does not expand the agreed service scope or remove any obligations that apply by law.\n\n## Content, accessibility and outcomes\n\nYou provide accurate practice information, confirm the rights and permissions needed for supplied content, and approve public content before publication. Our clinician reviews content for clarity and accuracy. This does not replace your practice's review of its US professional, advertising, privacy and accessibility obligations, and we do not provide legal advice or regulatory certification.\n\nWe target WCAG 2.2 AA in design and development. Accessibility also depends on ongoing content and third-party services. We do not guarantee search positions, AI citations, patient numbers, referrals, revenue or a regulatory outcome.\n\n## Ownership and confidentiality\n\nYour practice retains its domain, supplied content and practice-owned accounts. You own the custom website source code we deliver and may request a deployable export. Third-party software, fonts, imagery and services remain subject to their licenses. Our pre-existing methods, reusable tools and BusyBeeDoc brand remain ours. We identify any component that requires a continuing license before it is included.\n\nEach party will keep the other's confidential business information private and use it only to deliver or receive the agreed services, except where disclosure is required by law. This duty continues for two years after the engagement ends, without shortening any privacy or other legal obligation that lasts longer. We will not publish a case study or identify your practice as a client without permission.\n\n## Responsibility and disputes\n\nNothing in these terms excludes a right or remedy that cannot lawfully be excluded. Subject to those rights, we are not liable for indirect or consequential loss, and our aggregate liability relating to the services is limited to the fees paid to us in the three months before the event giving rise to the claim, to the extent the law permits that limit.\n\nNeither party is responsible for a delay caused by an event reasonably outside its control. We will communicate the effect and practical next steps. If it continues for more than 30 days, either party may end the affected services on seven days' written notice, subject to fees already due and mandatory refund rights.\n\nContact us first so we can try to resolve a concern. If it remains unresolved after 14 days, the parties may agree to mediation; this does not prevent urgent relief or exercising mandatory legal rights. These terms are governed by the laws of Victoria, Australia, with non-exclusive jurisdiction in its courts, subject to any applicable law that requires otherwise. There is no mandatory arbitration or waiver of non-excludable rights in these terms.\n\n## Contact\n\nBusyBee Labs Pty Ltd, trading as BusyBeeDoc. ABN 68 688 853 723. Email [hello@busybeedoc.com](mailto:hello@busybeedoc.com).\n"},{"source":"apps/marketing-site-v2/docs/legal/IMPLEMENTATION-PLAN.md","snapshot":"apps/marketing-site-v2/docs/legal/IMPLEMENTATION-PLAN.md.txt","sha256":"40e3ccac48afdd69d4a526fd8196f216ed5ecbeb96240ada42e5655cc487cb69","bytes":15408,"content":"# Click-Wrap Legal Terms — Implementation Plan\n\nHow BusyBeeDoc moves from the old **two-document model** (a click-through portal ToS *plus*\na separately-generated, bespoke \"signed\" MSA PDF) to a **single, standardised, click-wrapped\nagreement** that every customer accepts at checkout — across all tiers.\n\nCompanion documents (in this folder):\n- `master-services-agreement.md` — the one Agreement, accepted at checkout\n- `data-processing-agreement.md` — the DPA, incorporated by reference and accepted in the same click\n\n---\n\n## Status\n\n**Done:**\n\n- **The bespoke contract generator is removed.** `apps/internal/src/lib/contracts/`, both\n  `/api/contracts/*` routes, the contract UI on the client Documents tab, and the\n  `tenant_contracts` table are gone. Sharon chose outright removal over the demotion this\n  plan originally proposed — see §3.\n- **CLAUDE.md rewritten** (step 10 below): \"Legal Content — Source of Truth\" now describes\n  the single-agreement model.\n- The MSA and DPA text exists as markdown in this folder, with versions tracked in\n  `apps/marketing-site-v2/lib/legal.ts`.\n\n**Not built — the binding flow does not yet work end to end:**\n\n- `packages/legal/` does not exist. Legal text is still duplicated as hand-written TSX in\n  marketing-site-v2 *and* portal, and the portal pages hardcode `EFFECTIVE_DATE` rather than\n  importing `LEGAL`. **Two version sources that can drift.**\n- No `agreement_acceptances` table and no `TERMS_ACCEPTED` audit action. **Nothing currently\n  records who accepted which version, when** — which is the thing that makes click-wrap\n  enforceable. This is the highest-value remaining gap.\n- Stripe `consent_collection` is not enabled (separate `busybeedoc-pipeline` repo).\n\nUntil acceptance capture exists, treat the published `/terms` as the *intended* model rather\nthan a proven one.\n\n---\n\n## 1. The model in one diagram\n\n```\n                 ┌─────────────────────────────────────────────┐\n                 │   CANONICAL LEGAL SOURCE  (one place)        │\n                 │   packages/legal/                            │\n                 │     master-services-agreement (versioned)    │\n                 │     data-processing-agreement (versioned)    │\n                 │     privacy-policy (versioned)               │\n                 └───────────────┬─────────────────────────────┘\n                                 │ imported by\n        ┌────────────────────────┼────────────────────────┐\n        ▼                        ▼                         ▼\n  marketing-site-v2        portal (marketing)        checkout flow\n  /terms /privacy          /terms /dpa /privacy       ToS checkbox +\n  (public render)          (public render)            Stripe consent\n                                                            │\n                                                            ▼\n                                              ACCEPTANCE RECORD (DB)\n                                              version + timestamp + IP\n                                              + Order (tier/add-ons/options)\n                                                            │\n                                                            ▼\n                                              DELIVERY / SURFACING\n                                              • confirmation email (links + version)\n                                              • portal \"Your Plan\" page\n```\n\nThe legal text is **identical for everyone**. What varies per customer is the **Order**\n(tier + add-ons + bounded options like which social platforms), which is data attached to\nthe Stripe subscription — never a contract clause. This is what keeps it click-wrap and\nstandardised while still configurable.\n\n---\n\n## 2. Infrastructure\n\n### 2.1 Single canonical source — `packages/legal/`\n\nToday the legal text is hand-written TSX, duplicated across `apps/portal` and\n`apps/marketing-site-v2`, with the markdown in this folder as a third copy. Worse, the two\napps track versions independently — marketing-site-v2 imports `LEGAL` from `lib/legal.ts`\nwhile the portal pages hardcode `EFFECTIVE_DATE`, so they can silently disagree about which\nversion is live. The pipeline contract files (separate repo) reference the text again. That\nis the drift risk CLAUDE.md warns about. Fix it with one source package.\n\n```\npackages/legal/\n  src/\n    documents/\n      master-services-agreement/\n        v1.mdx            ← full text, version 1\n        index.ts          ← exports { version, effectiveDate, slug, body }\n      data-processing-agreement/\n        v1.mdx\n        index.ts\n      privacy-policy/\n        v1.mdx\n        index.ts\n    registry.ts           ← CURRENT_VERSIONS = { msa: 'v1', dpa: 'v1', privacy: 'v1' }\n                            getDocument(slug, version?), getCurrent(slug)\n    index.ts\n```\n\n- **Format:** MDX (or structured JSON if you prefer typed sections). MDX lets the same\n  source render as a styled page in either app and export to plain text/PDF for receipts.\n- **Versioning:** each material change adds a new `vN.mdx`; old versions stay forever so you\n  can always reproduce \"the terms this customer accepted.\" `registry.ts` names the current\n  version per document.\n- **Consumed by:** both Next.js apps render the current version; the checkout records the\n  current version string at the moment of acceptance.\n\nThis package is the only thing that changes when terms change. Both apps and the checkout\npick it up automatically.\n\n### 2.2 Acceptance record (the \"signature\")\n\nClick-wrap is only enforceable if you can prove *who accepted what, when*. Store it.\n\n`public.agreement_acceptances`:\n\n| column | notes |\n|---|---|\n| `id` | uuid |\n| `client_id` | FK → public.clients (null until provisioned; link via email/stripe id first) |\n| `email` | acceptor's email |\n| `msa_version` | e.g. `v1` |\n| `dpa_version` | e.g. `v1` |\n| `privacy_version` | e.g. `v1` |\n| `accepted_at` | timestamptz |\n| `ip_address` | from request |\n| `user_agent` | from request |\n| `stripe_session_id` | links to the Stripe Checkout session / consent record |\n| `order_snapshot` | jsonb — tier, add-ons, selected options, fees at acceptance time |\n| `method` | `checkout` \\| `reacceptance` |\n\n- RLS: insert via service role only; no client deletes (same posture as `audit_log`).\n- Also write an `audit_log` row `TERMS_ACCEPTED` for the unified trail.\n- **No PHI** in `order_snapshot` — it's commercial config only, which is fine.\n\n### 2.3 Stripe as the binding payment + consent record\n\nThe actual charge is created by the external `busybeedoc-pipeline` (`/checkout/lock-in`).\nTwo changes there:\n\n1. Turn on **`consent_collection.terms_of_service: 'required'`** on the Checkout Session and\n   set the **`custom_text.terms_of_service_acceptance`** / business `terms_of_service_url` to\n   the public `/terms`. Stripe then renders a required ToS tick and records\n   `consent.terms_of_service = 'accepted'` on the session.\n2. Pass the current version strings + Order as **session metadata**, so the webhook can write\n   the acceptance record with the exact version accepted.\n\n> Note: the Stripe checkout amount and this consent config live in the **separate\n> `busybeedoc-pipeline` repo**, not in this one. Those edits are tracked as a dependency\n> (see §6). Everything else in this plan is in-repo.\n\n---\n\n## 3. Delivery — what replaced the contract generator\n\n> **Changed from the original plan.** This section proposed *demoting* the bespoke MSA\n> generator to an Order Summary generator. Sharon instead chose **outright removal** — the\n> lighter option, and the one that leaves no per-client contract surface to drift back into\n> use. `apps/internal/src/lib/contracts/` and its API routes, UI and `tenant_contracts`\n> table have been deleted. The Order Summary PDF idea is dropped (§7 decision 4, resolved).\n\nThe binding agreement is the click-wrapped MSA plus the acceptance record. Nothing\nper-client is generated, signed, or countersigned. Delivery is two surfaces:\n\n1. **Confirmation email** (sent on successful checkout, via SES):\n   - Welcome + what happens next.\n   - The customer's Order (tier, add-ons, selected options, price inc. GST).\n   - Links to the exact accepted versions: `/terms`, `/dpa`, `/privacy`.\n   - A line: \"You accepted v1 of our terms on {date}. A copy is always available in your\n     portal under Your Plan.\"\n2. **Portal \"Your Plan\" page** (`/account` or `/plan` in the portal):\n   - Current Order (read from Stripe subscription items + `order_snapshot`).\n   - Accepted versions + acceptance date, with links to view them.\n   - Manage: change plan, cancel (month-to-month), update payment.\n\nIf a customer ever needs a document rather than a page, it is an **informational Order\nSummary receipt** built from `packages/legal` + the Order — never a contract, never bespoke\nclauses. Do not rebuild per-client contract generation to satisfy that ask.\n\n**Legacy clients:** anyone on a pre-click-wrap signed agreement (Surf Coast and similar)\nkeeps it. Their signed PDF remains attachable and viewable as an ordinary `tenant_documents`\nrow via document upload in the internal app. See §7 decision 2 for their migration path.\n\n---\n\n## 4. Surfacing — how clients see and accept the terms\n\n| Touchpoint | What appears | Acceptance? |\n|---|---|---|\n| **Footer (both apps)** | Privacy · Terms · DPA · Contact (already present in portal layout; add to marketing-site-v2) | No — passive availability |\n| **Build form** (`build-form.tsx`) | Replace the soft \"by submitting you consent…\" line with: an explicit link set to `/terms`, `/privacy`, `/dpa`, shown next to the submit button | Pre-checkout disclosure |\n| **Stripe Checkout** | Required, unticked ToS checkbox (Stripe `consent_collection`) linking to `/terms` | **Yes — the binding acceptance** |\n| **Confirmation email** | Order + version + links | Confirmation of acceptance |\n| **Portal → Your Plan** | Accepted versions, dates, current Order, links | Ongoing reference |\n| **Material change** | Email notice 30 days ahead; on next login a banner/modal to review and re-accept | **Re-acceptance** (writes a new record) |\n\nDesign rule that keeps it enforceable: **active assent at the checkout**, not browse-wrap.\nThe footer link alone is not relied on for the binding moment — the Stripe checkbox is.\n\n---\n\n## 5. Change management (versioning in practice)\n\n- **Minor/non-material** (typos, contact details, adding a subprocessor with notice): publish\n  a new `vN`, bump effective date, email notice where required by the DPA. No re-acceptance.\n- **Material** (fees, cancellation, liability, IP, data handling): 30 days' email notice;\n  continued use / next payment = acceptance (per MSA clause 14); existing customers get a\n  re-acceptance prompt on next login that writes a fresh `agreement_acceptances` row.\n- The version a customer accepted **keeps applying to them** until they accept a newer one —\n  so the registry's \"current\" version is for *new* signups and re-acceptances, while old\n  versions remain renderable for anyone still on them.\n\n---\n\n## 6. Migration from today's state\n\n1. **Legal review** of the two documents in this folder (recommended before go-live — see §7).\n2. **Stand up `packages/legal/`** with v1 of MSA, DPA, Privacy migrated from the existing\n   portal TSX (the DPA is ~90% reusable; the MSA is new and absorbs the old portal ToS as\n   Annex A).\n3. **Point both apps' legal pages at `packages/legal`** — delete the duplicated TSX bodies,\n   keep the styled page shells.\n   - `apps/marketing-site-v2`: also add `/dpa` (currently missing) and fix footer links.\n4. **Add the acceptance table + webhook handler** to write `agreement_acceptances` + audit.\n5. **Pipeline repo (separate):** enable Stripe `consent_collection`, pass version + Order\n   metadata. Tracked as an external dependency.\n6. **Build \"Your Plan\"** page in the portal + the confirmation email.\n7. ~~**Demote the contract generator** to Order Summary; remove old lock-in/build-fee\n   tables.~~ **Done — removed outright instead of demoted.** See §3. The old\n   `pricing-plans.md` / `types.ts` lock-in and build-fee tables went with it.\n8. **Update the build form** disclosure copy + links.\n9. **Backfill / transition** any existing signed-MSA clients: decide whether they move to the\n   click-wrap model at next renewal or are grandfathered (decision in §7).\n10. ~~**CLAUDE.md update:** rewrite the \"Legal Content — Source of Truth\" section.~~ **Done.**\n    It now describes the single-agreement model and records the gaps listed under Status.\n    Update it again when `packages/legal` lands, so it names that as canonical.\n\n---\n\n## 7. Open decisions (need Sharon / lawyer)\n\n1. **Legal sign-off.** Both documents should be reviewed by an Australian commercial/privacy\n   lawyer before go-live — especially the unfair-contract-terms exposure for small-business\n   standard form contracts, the IP model (customer owns site source code; backend stays\n   managed), the AHPRA liability carve-out, and the DPA.\n2. **Existing clients.** Anyone already on a signed bespoke MSA — migrate at next renewal, or\n   grandfather on their current contract? (Affects step 9.)\n3. **MSA vs Privacy Policy ownership.** Confirm the marketing-site `/privacy-policy` and\n   portal `/privacy` consolidate to one canonical Privacy doc in `packages/legal` (recommended).\n4. ~~**Order Summary PDF** — keep it or drop it?~~ **Resolved: dropped.** The contract\n   generator was removed rather than demoted, so there is no PDF pipeline to reuse. Rely on\n   the confirmation email + Your Plan page. Revisit only if a customer actually asks for a\n   document — and build it as a receipt, not a contract.\n5. **Effective dates / version numbering** start point (v1.0 at launch).\n\n---\n\n## 8. Effort sketch (rough, in-repo only)\n\n| Workstream | Size |\n|---|---|\n| `packages/legal` + migrate v1 content | M |\n| Repoint both apps' legal pages + marketing footer + `/dpa` | S |\n| `agreement_acceptances` table + webhook writer + audit | M |\n| Portal \"Your Plan\" page | M |\n| Confirmation email template (SES) | S |\n| ~~Demote contract generator → Order Summary~~ | **Done** — removed instead |\n| Build-form disclosure copy | S |\n| **Pipeline repo: Stripe consent_collection + metadata** | S *(separate repo)* |\n| **Pipeline repo: remove `packages/stripe/src/contracts.ts`** | S *(separate repo)* |\n\nRecommended build order: `packages/legal` + repointing both apps' pages gives you public,\nversioned, single-source docs immediately; the acceptance table + Stripe consent + webhook\nwriter then wires the actually-binding flow and closes the enforceability gap; \"Your Plan\"\nand the confirmation email follow.\n\n**Remaining bespoke-contract surface:** `busybeedoc-pipeline/packages/stripe/src/contracts.ts`\n(separate repo) still generates a per-client contract PDF. It is now the only one left.\nRemove it, or demote it to an Order Summary receipt, so the pipeline matches the in-repo\nremoval. Until then, treat any PDF it produces as legacy — not the binding agreement.\n"},{"source":"apps/marketing-site-v2/docs/legal/us-privacy-policy.md","snapshot":"apps/marketing-site-v2/docs/legal/us-privacy-policy.md.txt","sha256":"13044d7462fb498556a98a1a537d19d789974fb524bd742519fef856167d034c","bytes":7326,"content":"## Who this policy covers\n\nBusyBee Labs Pty Ltd (ABN 68 688 853 723), trading as BusyBeeDoc, is an Australian website and marketing agency serving healthcare practices, including practices in the United States. This policy covers visitors to our US pages and people making US business inquiries or discussing our services. It is not a privacy notice for patients of a client practice or an authorization to process patient records.\n\nContact [hello@busybeedoc.com](mailto:hello@busybeedoc.com) about this policy or your information. The Australian Privacy Act 1988 and Australian Privacy Principles govern our Australian operations where applicable. Other privacy rights may apply depending on your location and the circumstances.\n\n## Information we collect\n\nOur US business inquiry form collects your name, practice name, business email, state or territory, selected service interests and any selected plan. Phone number and preferred time zone are optional. We record your acknowledgment that the inquiry excludes patient information and the time of that acknowledgment. Correspondence may include the business details you provide when discussing a project.\n\nWebsite and security providers may process technical information such as IP address, browser and device details, pages visited, approximate location, referral source and interaction or performance measurements. Google reCAPTCHA assesses technical signals to help prevent spam. The form's CAPTCHA token is used for verification and is not saved with the business inquiry. Our form route uses an IP-derived signal temporarily to limit repeated requests and does not save it in the inquiry record.\n\nThe form has no patient-message or file-upload field. Please do not enter patient information into any field or send it in replies. No general text field can prevent every accidental disclosure; tell us promptly if you send information that should not have been included.\n\n## Why we use information\n\nWe use business contact details to respond to your request, clarify scope and pricing, arrange meetings, deliver agreed services and provide related support. We use technical information to operate the website, understand its use and performance, prevent abuse and investigate faults. We also retain information where needed for legal, accounting or dispute-handling purposes.\n\nAn inquiry does not subscribe you to promotional emails. We will seek your permission for marketing communications, and you can withdraw it. We do not sell or rent business inquiry details or provide them to other businesses for their own marketing.\n\n## Providers and international processing\n\nOur team operates from Australia. Business inquiry records are stored in our Supabase database in Sydney, Australia. Transactional notifications and confirmations use Amazon SES in the Sydney region. Agency staff access inquiries to respond and administer services; routine email correspondence also uses our Google Workspace business mail service.\n\nVercel hosts and delivers the website. Application functions are configured for Sydney, while its delivery network and supporting services can operate internationally. Google reCAPTCHA provides spam protection. Google Tag Manager and Google Analytics, where enabled, and Vercel Analytics and Speed Insights provide website usage and performance measurements. These providers may process technical information in the United States and other countries under their own arrangements. A Sydney application region does not mean all technical data or correspondence stays in Australia.\n\nWe share information with providers and authorized personnel only as needed for these purposes, and with professional advisers or authorities where necessary or legally required. If you later become a customer, payment processing and client-specific providers are identified before you commit. Our US inquiry form does not collect card details or take payment.\n\nFor provider information, see [Google's Privacy Policy](https://policies.google.com/privacy), [Vercel's Privacy Notice](https://vercel.com/legal/privacy-policy), [Supabase's Privacy Policy](https://supabase.com/privacy) and [AWS's Privacy Notice](https://aws.amazon.com/privacy/).\n\n## Cookies and browser storage\n\nAnalytics and security services may use cookies or similar technologies. You can manage cookies through your browser; blocking security scripts may prevent the form from working, in which case you can email us. Browser controls do not necessarily stop all server-side security or operational logging.\n\nThe US “Find your fit” tool keeps progress in session storage for your current tab, separately from the Australian tool. It does not submit your answers to our Australian lead forms. The regional banner's dismissal is also stored for the tab. Country detection uses Vercel's country signal to decide whether to offer a US-site link on the Australian homepage; it does not redirect you automatically.\n\n## Protection and retention\n\nWe use encrypted connections, server-side validation, access restrictions and spam controls to protect inquiries. Access is limited to personnel and providers who need it for the purposes described here. No internet service can guarantee absolute security.\n\nWe retain prospective-client inquiries for up to 12 months if no engagement proceeds, unless a legal obligation or an active dispute requires longer retention. Customer business records are retained as necessary for the engagement and applicable accounting or legal requirements. Backup and provider-log retention follows the applicable service lifecycle. Contact us to request deletion or ask what we hold.\n\n## Your choices and requests\n\nYou may contact us to request access, correction or deletion, ask about our handling of your information, or withdraw marketing permission. We may need to verify your identity before responding. Some information may need to be retained for legal or security reasons; we will explain if a request cannot be fulfilled.\n\nWe respond in accordance with applicable law, including additional rights that may apply in your US state. We do not claim that every US privacy statute applies to our business or that this policy limits rights you have under one. If you are dissatisfied, you may contact the relevant privacy regulator or state authority. For Australian privacy matters, the [Office of the Australian Information Commissioner](https://www.oaic.gov.au/privacy/privacy-complaints) provides complaint information.\n\n## Patient information and client websites\n\nOur agency inquiry service is for business contacts, not patient intake, clinical advice or emergencies. A client practice's patient systems have their own privacy notices and responsibilities. Any request for us to handle protected health information requires a separate workflow assessment and the necessary agreements and safeguards before that work begins. See [US Service Terms: patient data and HIPAA](/us/terms#patient-data-and-hipaa).\n\n## Policy changes\n\nWe publish a version and effective date with this policy and preserve prior versions. If we propose a material change to how information already collected is used, we will provide appropriate notice and obtain any consent required by law before applying it. Updating a page does not retroactively authorize a new use of your information.\n"},{"source":"apps/marketing-site-v2/docs/legal/master-services-agreement.md","snapshot":"apps/marketing-site-v2/docs/legal/master-services-agreement.md.txt","sha256":"42d281996b6f8b3476741f3ef904c852e4288af067190583f7f9fbcb2a9ddc8d","bytes":20345,"content":"# BusyBeeDoc — Master Services Agreement (Click-Wrap)\n\n> This is the single, standardised agreement accepted by every customer at checkout,\n> for every tier (Launch, Growth, Accelerate) and every once-off service (clause 5A).\n> There is no separate signed contract.\n> Customer-specific choices (tier, add-ons, options) are recorded as the *Order* — they\n> are data, not clauses. This document never changes per customer.\n>\n> Canonical source. The marketing-site `/terms` page renders from this. When this changes,\n> bump the version and effective date and follow the change-management process in the\n> implementation plan.\n\n**Version:** 1.2\n**Effective date:** 4 October 2026\n\n> 1.2 adds clause 5A (once-off services: the Practice Growth Roadmap, the Practice Workflow\n> Review, Professional Photography and Physical Marketing Materials) and the matching references in clauses 1,\n> 2, 4 and 5. It adds terms for once-off purchases only and does not change anything an\n> existing subscriber accepted.\n\n---\n\n## 1. About this agreement\n\nThis Master Services Agreement (the **\"Agreement\"**) is between **BusyBee Labs Pty Ltd**, ABN 68 688 853 723, trading as **BusyBeeDoc** (**\"we\"**, **\"us\"**, **\"BusyBeeDoc\"**), and the medical practice or practitioner that subscribes to or buys our services (the **\"Customer\"**, **\"you\"**).\n\nYou enter into this Agreement when you tick the acceptance box and complete payment at checkout. At that moment we record the version of this Agreement you accepted, the date and time, and your selections (your **\"Order\"**). The accepted version, together with your Order, forms the whole contract between us.\n\nThis Agreement incorporates by reference:\n\n- the **Data Processing Agreement** (`/dpa`), which governs how we handle patient and personal information; and\n- the **Privacy Policy** (`/privacy`).\n\nIf there is any inconsistency on data-handling matters, the Data Processing Agreement prevails.\n\n## 2. Definitions\n\n- **Services** — the products you select in your Order, drawn from our published service catalogue (tiers, add-ons and once-off services), each with the standard scope described in that catalogue at the time you subscribe or buy.\n- **Once-off service** — a Service bought outright for a single fee rather than on a subscription, as listed in clause 5A.\n- **Order** — the record of your selections at checkout: your tier, any add-ons, any bounded options (for example, the social platforms you nominate), and the fees that apply. Your current Order is always visible in the portal under **Your Plan**.\n- **Portal** — the BusyBeeDoc practice portal at portal.busybeedoc.com.\n- **Patient Data** — personal information and health information about patients that flows through the Services. Handling of Patient Data is governed by the Data Processing Agreement.\n- **Customer Content** — the text, images, logos, and other material you provide or approve for your website and communications.\n\n## 3. The Services\n\nWe will provide the Services in your Order with reasonable care and skill. The scope of each tier and add-on is the standard scope published in our service catalogue at the time you subscribe. We do not provide bespoke scope under this Agreement — where you can choose an option (such as which social platforms we post to), that option is a selection from a defined list, not a negotiated variation.\n\nWe may improve, change, or substitute the tools and platforms we use to deliver the Services, provided we do not materially reduce the scope of what you have subscribed to.\n\n## 4. Fees and payment\n\n- Fees are those shown in your Order at checkout and are **inclusive of GST**. We are registered for GST and issue a tax invoice for each payment.\n- No tier carries a separate build fee. On Launch the build is included in the first-year fee.\n- **Launch** is billed once for the first 12 months in advance through our payment provider (Stripe), and monthly thereafter. **Growth** and **Accelerate** are billed monthly in advance. The first charge applies from the date stated at checkout.\n- Launch and Growth fees are the same regardless of how many practitioners are at your practice.\n- **Once-off services** are paid in full, in advance, at checkout (or on a tax invoice where we agree to invoice you). See clause 5A.\n- If a payment fails and remains unpaid **14 days** after we notify you, we may suspend the Services (including taking a hosted website offline) until the amount is paid. We will give at least **48 hours'** notice before suspending hosting.\n\n## 5. Term and cancellation\n\n- On **Launch**, the first 12 months are paid in advance and this Agreement runs for that term; it continues **month to month** afterwards with no further commitment. On **Growth** and **Accelerate** there is no minimum term and no lock-in.\n- You may cancel with **30 days'** written notice — at any time on Growth and Accelerate, and at any time after the first year on Launch — from the portal or by emailing hello@busybeedoc.com. Fees already paid are not refunded, except where a refund is required by the Australian Consumer Law. No cancellation or early-exit fee applies on any plan.\n- We may cancel on **30 days'** written notice. We may suspend or cancel immediately if you seriously breach this Agreement, if there is a security or legal risk, or if we are required to by law.\n- Once-off services have their own cancellation terms in clause 5A. Buying one does not start a subscription or commit you to anything further.\n- On cancellation we will, in line with the Data Processing Agreement, give you a reasonable opportunity to export your data and then securely delete Patient Data from our systems.\n\n## 5A. Once-off services\n\nThis clause applies to the once-off services in our catalogue: currently the **Practice Growth Roadmap**, the **Practice Workflow Review**, **Professional Photography** and **Physical Marketing Materials**. It applies in addition to the rest of this Agreement and, where it differs from clauses 4 and 5, this clause prevails for those services.\n\n**(a) Scope and price.** Each once-off service has the fixed scope and price published in our catalogue and on its service page when you buy it. It is not a subscription and is not credited toward a plan. Anything outside that scope, including carrying out recommendations, is quoted separately.\n\n**(b) Once-off reviews: what is included.** The Practice Growth Roadmap (the **Roadmap**) and the Practice Workflow Review (the **Workflow Review**) are each a **Review**.\n\n- The **Roadmap** includes a 30-minute kickoff call, a review of your practice's search visibility, Google Business Profile, reviews, social presence, website and enquiry path, a written 90-day roadmap, a 60-minute strategy session, and **14 days** of questions by email after that session.\n- The **Workflow Review** includes a 30-minute kickoff call, a review of your practice's administrative workflows and the tools you use for them, a written automation plan, a fixed quote for any builds you ask us to quote, a 45-minute session to walk through the plan, and **14 days** of questions by email after that session.\n\n**(c) What we need from you.** To deliver a Review we need the information requested in the intake form. For the Roadmap we also need the read-only access described on the confirmation page (for example Google Analytics, Search Console and your Google Business Profile), and the timeframes we publish run from when that access comes through. For the Workflow Review, the timeframes we publish run from the kickoff call. We use any access you give us only to deliver the Review, we do not change your settings, and you may remove our access at any time after the final session. We do not need patient information to deliver either Review, and you should not send it to us. For the Workflow Review, any examples, exports or screenshots you share with us must have patient details removed first.\n\n**(d) Scheduling.** You may reschedule either call with at least **24 hours'** notice. If, **90 days** after you pay, we have not been able to start because the information or access in (c) has not been provided, we will contact you, and either of us may then end the engagement. If that happens we will refund the fee, less a reasonable amount for work already done.\n\n**(e) Cancellation and refunds.** You may cancel a Review before the kickoff call by emailing hello@busybeedoc.com, and we will refund the fee in full. After the kickoff call, fees are not refunded except under (d) or where a refund is required by the Australian Consumer Law. For Professional Photography and Physical Marketing Materials, you may cancel for a full refund before the shoot date or before we start design work.\n\n**(f) Recommendations, not guarantees.** Each Review sets out our recommendations based on the information available to us at the time, and whether and how to act on each recommendation is your decision. The Roadmap does not guarantee search rankings, enquiries, patient numbers, referrals or revenue. It covers marketing only, and is not legal, financial, clinical or operational advice. The hours saved and effort shown in the Workflow Review are estimates and are not guaranteed. It covers administrative workflows only, and is not legal, financial, clinical or billing advice. A quote in the Workflow Review is a separate offer, open for **30 days** from the date we send it, after which we may revise it: any build you accept is a separate purchase, and the fee for the Workflow Review is not credited toward it. Clause 6 applies to any recommendation that involves advertising content: we make recommendations with the AHPRA advertising guidelines in mind, and you remain responsible for what your practice publishes.\n\n**(g) Ownership of the deliverable.** The written roadmap, automation plan and report are yours to use, copy and share within your practice and with the suppliers you engage to carry them out. Our methods, checklists, templates and tools remain ours. We will not publish your roadmap or automation plan or identify your practice without your permission.\n\n**(h) The live roadmap page.** We deliver the roadmap as a private web page at a link we send to you. Anyone who has the link can view the page and update its status, owner and notes, so share it only with people you trust, and tell us if you want the link replaced. Do not put patient information in the notes. We will keep the page available for at least **12 months** after delivery and give you a copy of its contents on request.\n\n## 6. Content, AHPRA compliance, and your responsibilities\n\nYou are responsible for your practice's compliance with the law and your professional obligations. In particular, you agree that:\n\n- You hold the **patient consents** required before any patient information is collected or stored through the Services.\n- You meet your professional obligations to keep and protect medical records under the laws of your state or territory.\n- You provide accurate information about your practice and review and approve content in a timely manner.\n- You keep portal sign-in credentials secure, do not share accounts, and remove access promptly when a staff member leaves.\n\n**Our AHPRA commitment.** When we create your website copy — and, on plans that include ongoing content, the content we produce for you each month — we apply the **AHPRA and Medical Board of Australia advertising guidelines** (including the rules on testimonials about clinical care, misleading claims, and creating unreasonable expectations) as part of our service, and we will flag content we think creates a compliance risk. We stand behind that work: if content we produced does not meet the guidelines, we will correct it promptly at our cost.\n\n**Your responsibility as the regulated practitioner.** You are the registered health practitioner and are responsible, to AHPRA and at law, for your practice's advertising. Because we draft content on your behalf, we may also be an advertiser under the National Law, and we take that seriously — but our review does not displace your own obligations. **You must review and approve all content before it is published,** and your approval is your confirmation that the content meets your professional and regulatory obligations.\n\n**No legal advice; no guarantee of a regulatory outcome.** We are not lawyers and do not provide legal or regulatory advice. AHPRA guidelines change, and whether particular advertising complies is ultimately a matter for AHPRA, a court or a tribunal — not something we, or anyone else, can determine in advance. So while we build to the guidelines and correct our own work, we cannot guarantee the outcome of a regulatory assessment. Where you are unsure, you should obtain your own professional advice.\n\nWe may decline to publish, or may remove, content we reasonably believe breaches AHPRA advertising obligations or any law, and will tell you if we do. To the maximum extent permitted by law (and subject to clauses 10 and 11), we are not liable for any complaint, investigation, finding, penalty, or loss arising from content published on your website or in your communications, including any AHPRA or Medical Board action.\n\n## 7. Intellectual property\n\n- **Customer Content** remains yours. You grant us the licence we need to host, display, and process it to deliver the Services.\n- **Your website and domain.** You own your website's source code and your domain name (your domain is always registered in your name). On request we provide a clean, deployable export of your site's source code so you can self-host it elsewhere. There is no lock-in clause.\n- **Our managed platform.** The forms, secure file uploads, email notifications, client portal, and Sydney-hosted backend run on our managed infrastructure and remain ours. While you are subscribed, we grant you a non-exclusive, non-transferable licence to use them. This managed functionality is not transferred on cancellation.\n- **On cancellation.** Your website is taken offline at the end of the billing period. We hand over your domain, your Customer Content and data, and a deployable export of your website source code. The managed backend functions (forms, uploads, email notifications, portal) do not transfer; if you wish to fully self-host, a one-off migration package is available. Standard third-party assets (such as stock or AI-generated imagery) are dealt with as described in the service catalogue.\n- **BusyBeeDoc brand.** The BusyBeeDoc name, logo, and website remain the property of BusyBee Labs Pty Ltd.\n\n## 8. Privacy and patient data\n\nWe handle Patient Data only on your documented instructions and only to deliver the Services, as set out in the **Data Processing Agreement** (`/dpa`). All Patient Data is stored in Australia (AWS ap-southeast-2). We do not use Patient Data for marketing, AI training, or profiling, and we do not disclose it except as that agreement allows.\n\n## 9. Confidentiality\n\nEach party will keep the other's confidential information private and use it only for this Agreement, except where disclosure is required by law. This obligation continues for **two (2) years** after the Agreement ends.\n\n## 10. Consumer guarantees and warranties\n\nOur Services come with guarantees that cannot be excluded under the **Australian Consumer Law**. Nothing in this Agreement excludes, restricts, or modifies those guarantees. Apart from those guarantees and any other warranty implied by law that cannot be excluded, the Services are provided \"as is\".\n\nThe Portal supports your practice's operations. It is not a clinical decision-making system and must not be relied on as a substitute for professional judgement or a practice management system of record.\n\n## 11. Limitation of liability\n\nTo the maximum extent permitted by law, and subject to clause 10:\n\n- We are not liable for indirect or consequential loss.\n- Our total aggregate liability for any claim relating to the Services — whether in contract, tort (including negligence), statute, or otherwise — is limited to the total fees you paid us in the **three (3) months** immediately before the event giving rise to the claim.\n- Where liability cannot lawfully be excluded but can be limited, our liability is limited, at our option, to resupplying the Services or paying the cost of having them resupplied.\n\n## 12. Force majeure\n\nNeither party is liable for delay or failure to perform caused by an event beyond its reasonable control (including natural disaster, pandemic, war or terrorism, cyber-attack, prolonged third-party platform outage such as AWS, Google, or Cloudflare, or a change in law that prevents performance). If such an event continues for more than **30 days**, either party may end this Agreement on **7 days'** written notice without liability (except for fees already due).\n\n## 13. Resolving disputes\n\nIf a dispute arises, the parties will first try to resolve it through good-faith negotiation, started by written notice. If it is not resolved within **14 days**, either party may refer it to mediation (mediator agreed between the parties, or failing agreement within 7 days, appointed by the Law Institute of Victoria; costs shared equally). Nothing in this clause prevents a party seeking urgent relief from a court.\n\n## 14. Changes to this Agreement\n\nWe may update this Agreement from time to time. The version you accepted at checkout continues to apply to you until you accept a new version.\n\n- For **minor or non-material** changes (clarifications, contact details, subprocessor list), we publish the updated version with a new effective date.\n- For **material** changes (fees, cancellation, liability, IP, or how we handle Patient Data), we give you at least **30 days'** notice by email. If you continue to use the Services after the change takes effect, or pay an invoice that falls due after it, you accept the new version. If you do not agree, you may cancel under clause 5 before it takes effect.\n\nWe keep an archive of every version and its effective date so you can always see the terms that applied at any time.\n\n## 15. General\n\n- **Governing law.** Victoria, Australia. The parties submit to the non-exclusive jurisdiction of its courts.\n- **Assignment.** You may not assign this Agreement without our consent. We may assign it on notice (for example, on a sale of our business), provided your rights are not materially reduced.\n- **Notices.** We send notices to the email on your account; you send notices to hello@busybeedoc.com.\n- **Entire agreement.** This Agreement, your Order, the Data Processing Agreement, and the Privacy Policy are the entire agreement between us and replace any earlier understanding.\n\n## 16. Contact\n\nBusyBee Labs Pty Ltd, trading as BusyBeeDoc — ABN 68 688 853 723\nEmail: hello@busybeedoc.com\n\n---\n\n## Annex A — Portal acceptable use\n\nThese rules apply to every person who signs in to the Portal on your behalf. (This Annex replaces the standalone portal Terms of Use under the old two-document model.)\n\nEach user must:\n\n- Keep their password private and not let anyone else sign in using their account.\n- Sign in only on devices that are kept reasonably secure and lock when unattended.\n- Treat all patient information as strictly confidential and access it only where there is a legitimate clinical or administrative reason.\n- Not screenshot, forward, or download patient information except where needed for patient care or required by law.\n- Report any suspected unauthorised access immediately to hello@busybeedoc.com.\n\nNo user may:\n\n- Upload unlawful, misleading, defamatory, or infringing content, or files containing malware.\n- Attempt to access another practice's data or bypass the Portal's security or access controls.\n- Use the Portal to send communications that breach the Spam Act 2003 (Cth).\n- Use the Portal in any way that breaches the Privacy Act 1988 (Cth) or the Australian Privacy Principles.\n\n## Annex B — Service catalogue (reference)\n\nThe Services, tiers, add-ons, once-off services, and selectable options are defined in the published catalogue (source of truth: `apps/marketing-site-v2/lib/tiers.ts`). Your Order records which of these you selected. The catalogue — not this Agreement — is the place where scope and price live, so that this Agreement stays identical for every customer.\n"},{"source":"apps/marketing-site-v2/lib/legal.ts","snapshot":"apps/marketing-site-v2/lib/legal.ts.txt","sha256":"8dfa4f3f8169953196700e7259e787cc94d9d30c2ff2381cc244a39f96474a45","bytes":4621,"content":"// Single source of truth for the currently published legal document versions.\n// Mirrors the markdown in docs/legal/. Bump the version when a document\n// materially changes, and update the corresponding page's effective date.\nexport const LEGAL = {\n  // Separate US documents. The existing Australian versions and acceptance\n  // stamps stay unchanged; these terms do not enable a US checkout.\n  us: {\n    terms: { version: '1.0', effectiveDate: '23 October 2026' },\n    privacy: { version: '1.0', effectiveDate: '23 October 2026' },\n  },\n  // Effective date for the MSA (Terms). The DPA used to share this and now\n  // tracks its own — see dpaEffectiveDate. Bumped 4 October 2026 for the 1.2\n  // change described below (previously 24 August 2026 for 1.1).\n  effectiveDate: '4 October 2026',\n  // The DPA split off its own date at v1.2, which narrowed the file-delivery\n  // wording: the previous text said uploaded documents and S3 links were never\n  // emailed, which was not true of practices on email delivery mode. The MSA\n  // did not change, so its date must not move with it.\n  dpaEffectiveDate: '30 July 2026',\n  // The Privacy Policy tracks its own date. Bumped to 23 July 2026 for a\n  // material update: added the APP 8 cross-border disclosure section and set\n  // the transactional-email subprocessor to Amazon SES (ap-southeast-2). Bump\n  // this and the version whenever the policy changes.\n  privacyEffectiveDate: '23 July 2026',\n  versions: {\n    // 1.0 → 1.1 (24 August 2026): removed the practitioner-bracket clause\n    // from section 4 (Fees and payment). Launch and Growth both moved to\n    // flat pricing that day — no practitioner-count band — so the old\n    // \"if you exceed the practitioner bracket for your tier\" text described\n    // a mechanic that no longer exists. Section 4 now states plainly that\n    // Launch/Growth fees don't vary by practitioner count.\n    // 1.1 → 1.2 (4 October 2026): added the once-off services clause (5A in\n    // the markdown, 4A on the rendered /terms page, which numbers its sections\n    // differently) for the Practice Growth Roadmap, the Practice Workflow\n    // Review, Professional Photography and Physical Marketing Materials. The\n    // Workflow Review was folded into the same unpublished 1.2 text on\n    // 4 October 2026 rather than bumping again. It adds terms for once-off purchases\n    // only; nothing an existing subscriber accepted changes, so this is not a\n    // material change under clause 14 for them.\n    msa: '1.2',\n    // 1.1 (DPA) adds a subprocessor liability flow-down, a deletion-certification\n    // obligation, and an audit/assurance clause. There is no longer a signed\n    // MSA template to keep in sync — the bespoke contract generator was\n    // removed, and the click-wrapped DPA is the only copy that binds. Advance\n    // dpaEffectiveDate across the rendered surfaces together when this moves.\n    //\n    // 1.2 (DPA) narrows the file-delivery wording. The page previously stated that\n    // uploaded documents and S3 links were never transmitted by email, which\n    // was untrue for every practice on email delivery mode — the default. It\n    // now describes both modes.\n    //\n    // This file is the source of truth for document versions. busybeedoc-\n    // pipeline holds a LEGAL_VERSIONS mirror for stamping Stripe Checkout\n    // sessions, but that repo is dormant and nothing in this app talks to it —\n    // do not treat it as a required sync. If the pipeline is ever brought back\n    // into service, re-check the mirror against this file before it takes a\n    // payment.\n    dpa: '1.2',\n    privacy: '1.1',\n  },\n} as const;\n\n/**\n * The version stamp written into every `agreement_acceptances` row.\n *\n * Both sign-up surfaces (the build form and tier checkout) call this so they\n * cannot drift apart and record different things for the same act. The DPA is\n * always included: the MSA incorporates it by reference and it prevails on\n * data-handling matters, so an acceptance that did not name a DPA version\n * would leave the patient-data terms unprovable.\n */\nexport function currentLegalVersions() {\n  return {\n    msa_version: LEGAL.versions.msa,\n    dpa_version: LEGAL.versions.dpa,\n    privacy_version: LEGAL.versions.privacy,\n    msa_effective_date: LEGAL.effectiveDate,\n    // The DPA tracks its own date from v1.2 onward, so it is recorded\n    // separately — stamping it with the MSA's date would misstate which\n    // data-processing text was live at acceptance.\n    dpa_effective_date: LEGAL.dpaEffectiveDate,\n    privacy_effective_date: LEGAL.privacyEffectiveDate,\n  };\n}\n"},{"source":"apps/marketing-site-v2/lib/tiers.ts","snapshot":"apps/marketing-site-v2/lib/tiers.ts.txt","sha256":"9b5fb761cdafb783ff2ca1267b1376dbbdeb719f53d6669bd42c611c99adc9bc","bytes":33193,"content":"import { GROWTH_SEARCH_SUMMARY } from './plan-copy';\n\nexport type PracticeTrack = 'solo' | 'practice';\nexport type TierId = 'launch' | 'growth' | 'growth-social' | 'accelerate';\n\nexport const BOOKING_URL =\n  'https://calendar.google.com/calendar/u/0/appointments/schedules/AcZssZ37NA1UWeLYvD3yyWY-wxzEiZ6230FM01nne-_bHaUx74AurCIwnVteZnjinDArIQ_ynX0OmSwo';\n\n/**\n * Marks a tier as sales-assisted: there is no self-serve destination, so every\n * surface renders a booking action instead of a link.\n *\n * It used to be `'#checkout'`, from when Growth and Accelerate were meant to be\n * bought off the page. They never were, and the name outlived the intent —\n * /pricing ignored the sentinel entirely and sent Growth to /build, while the\n * per-tier pages put it behind a form that asked for MSA acceptance to receive\n * a callback. Naming it for the action it actually triggers is what stops the\n * next person wiring a third thing to it.\n */\nexport const BOOK_CALL_SENTINEL = '#book-call';\n\n/**\n * Same schedule, but with `?gv=true` so the Google chrome is stripped, safe to\n * drop into an iframe.\n *\n * ⚠ What this booking captures is configured in Google Calendar, not here.\n *\n * Growth and Accelerate are sales-assisted and their primary action is a booked\n * call, so for those two tiers this schedule is the main intake. Out of the box\n * it returns a name and an email and nothing else — where the enquiry form at\n * /contact returns practice name, specialty, location and what they are after.\n *\n * Add those as custom questions on the appointment schedule (Google Calendar →\n * the schedule → Booking form → Add item) so a booked call arrives with enough\n * context to prepare for it. Until that is done, the \"Or send an enquiry\"\n * secondary beside every booking CTA is the only path that tells us who we are\n * talking to, which is why it is there.\n */\nexport const BOOKING_EMBED_URL =\n  'https://calendar.google.com/calendar/appointments/schedules/AcZssZ37NA1UWeLYvD3yyWY-wxzEiZ6230FM01nne-_bHaUx74AurCIwnVteZnjinDArIQ_ynX0OmSwo?gv=true';\n\n/**\n * How a plan is billed.\n *\n * - `monthly` — month-to-month from day one, cancel with 30 days' notice.\n * - `first-year-upfront` — the same monthly rate, billed annually for the first\n *   12 months as a single sum with the build included, then billed monthly once\n *   that year is served.\n *\n * `pricing` stays stated per month either way. It is the unit every helper and\n * scripts/check-pricing-drift.mjs compare on, and the first-year total is\n * derived from it (× 12) rather than stored — two figures for one price drift,\n * and a stale price is the failure mode this file exists to prevent.\n */\nexport type BillingCadence = 'monthly' | 'first-year-upfront';\n\nexport interface Tier {\n  id: TierId;\n  name: string;\n  tagline: string;\n  description: string;\n  pricing: {\n    solo: number;\n    practice: number;\n  };\n  billing: BillingCadence;\n  /** Optional scope shown beside the monthly price (for example, per channel). */\n  priceQualifier?: string;\n  /**\n   * The commitment, in the words the pricing page uses.\n   *\n   * Render this anywhere the price appears, and keep it identical to the\n   * commitment stated in the click-wrap agreement at\n   * apps/marketing-site-v2/docs/legal/master-services-agreement.md (rendered\n   * at /terms). Advertising \"no lock-in\" while the agreement binds the client\n   * for a year is misleading conduct under the Australian Consumer Law\n   * regardless of what they accepted.\n   */\n  commitment: string;\n  buildFee?: number;\n  inclusions: string[];\n  cta: {\n    label: string;\n    href: string;\n    /**\n     * Secondary action for sales-assisted tiers: an enquiry form, for the people\n     * who will not book a slot with a stranger.\n     *\n     * Booking a call is the better conversion, but the calendar is Google's and\n     * hands back only a name and an email. The form captures practice name,\n     * specialty, location and what they actually want, and routes through our own\n     * submission and notification flow. Offering only the calendar would have\n     * quietly traded that away on the two tiers where knowing the practice\n     * matters most.\n     */\n    enquireHref?: string;\n  };\n  /**\n   * 'from' means `pricing` is a starting point, not a fixed rate — the actual\n   * scope and price are worked out on a call, so every price-rendering helper\n   * prefixes `PRICE_FROM_PREFIX` and skips the solo/practice split (there\n   * isn't a fixed per-track rate to split). Undefined behaves as 'fixed', the\n   * existing behaviour every other tier keeps. Only Accelerate uses 'from'.\n   */\n  pricingModel?: 'fixed' | 'from';\n}\n\n/**\n * What Accelerate carries that neither Growth plan does. Exported so the\n * /pricing comparison table can give it a row of its own instead of\n * restating it by hand.\n */\nexport const ACCELERATE_ONLY_INCLUSIONS = [\n  'An overall marketing and growth strategy for your practice, planned with you',\n];\n\nexport const TIERS: Tier[] = [\n  {\n    id: 'launch',\n    name: 'Launch',\n    tagline: 'A custom website, with ongoing care and practical improvements.',\n    description:\n      'An AHPRA-compliant website designed and coded for your practice, with branding, copy and secure referral forms included. We host, manage and maintain it, and improve existing content, layouts and patient and referrer pathways as your practice evolves. No separate build fee.',\n    // Flat for every practice size, decided 2026-08-24 — hosting and\n    // maintenance cost the same whether the practice has one doctor or six,\n    // so a headcount band never tracked anything real. `solo` and `practice`\n    // stay equal (rather than collapsing the type) so every helper below,\n    // and the 31 call sites across the site that read tier.pricing[track],\n    // keep working unchanged; the flat-price branches in tierPriceSentence\n    // and the toggle removal in pricing-client.tsx are what actually retire\n    // the band from what a reader sees.\n    pricing: { solo: 200, practice: 200 },\n    billing: 'first-year-upfront',\n    commitment:\n      \"Billed annually for the first year, then month-to-month. Cancel any time after that with 30 days' notice\",\n    inclusions: [\n      'Build included: no separate setup fee',\n      'AHPRA-compliant copy, written for you',\n      'Custom design, branding, logo and AI-generated imagery',\n      'Unlimited text and design edits',\n      'Ongoing improvements to existing navigation, booking, enquiry and referral pathways',\n      'Your own domain, set up and configured for you',\n      'Secure referral and intake forms: encrypted, stored in Sydney, Privacy Act compliant',\n      'Spam-Shield email setup (SPF, DKIM, DMARC) so referrals reach the inbox',\n      'Hosting, backups, security and updates',\n    ],\n    cta: { label: 'Start your build', href: '/build' },\n  },\n  {\n    id: 'growth',\n    name: 'Growth + Search',\n    tagline: 'More patients through search.',\n    description: GROWTH_SEARCH_SUMMARY,\n    // Restructured 2026-08-25: was a $500 flat Growth tier bundling website +\n    // search. Now named for what it is — Website is included free, search\n    // is the $700. Growth + Social (below) mirrors this at the same price.\n    pricing: { solo: 700, practice: 700 },\n    billing: 'monthly',\n    commitment: 'Month-to-month, no minimum term, no lock-in',\n    inclusions: [\n      'Everything in Launch, included',\n      '4 SEO articles a month, researched and published for you',\n      '4 Google Business Profile posts a month',\n      'Ongoing SEO, Local SEO and AI search optimisation (ChatGPT, Perplexity, AI Overviews, Gemini)',\n      'Google Business Profile management, reviews and reporting',\n    ],\n    cta: {\n      label: 'Talk to us about Growth',\n      href: BOOK_CALL_SENTINEL,\n      enquireHref: '/contact?intent=growth',\n    },\n  },\n  {\n    id: 'growth-social',\n    name: 'Growth + Social',\n    tagline: 'More patients through one social channel.',\n    description:\n      'Everything in Launch, plus one social channel planned, posted and managed for you monthly.',\n    // Added 2026-08-25, at the same price as Growth + Search for the same\n    // reason: Website is included free, Social is the $700. See Social Media\n    // Marketing under Individual programmes for what \"Social\" covers.\n    pricing: { solo: 700, practice: 700 },\n    billing: 'monthly',\n    priceQualifier: 'per social channel',\n    commitment: 'Month-to-month, no minimum term, no lock-in',\n    inclusions: [\n      'Everything in Launch, included',\n      '4–8 AHPRA-reviewed posts a month on your chosen social channel',\n      'Replies to comments and DMs, and proactive engagement',\n      'Content calendar, monthly report',\n    ],\n    cta: {\n      label: 'Talk to us about Growth + Social',\n      href: BOOK_CALL_SENTINEL,\n      enquireHref: '/contact?intent=growth-social',\n    },\n  },\n  {\n    id: 'accelerate',\n    name: 'Accelerate',\n    tagline: 'Your website, search and social, together.',\n    description:\n      'Everything in Launch, plus Growth + Search and one social channel, combined in one plan with an overall marketing and growth strategy.',\n    // Redefined 2026-08-25: was an open-ended \"scoped, from $2,500\" bundle.\n    // Now a fixed price: Growth + Search ($700) and Growth + Social ($700)\n    // together would be $1,400 anyway, since Website is only counted once —\n    // that IS the discount off the $1,600 a reader would expect paying for\n    // two separate $700+$200-website lines. GP warming, ads and founder\n    // access are no longer bundled in; they're Individual programmes,\n    // addable to any plan.\n    pricing: { solo: 1400, practice: 1400 },\n    billing: 'monthly',\n    commitment: 'Month-to-month, no minimum term, no lock-in',\n    inclusions: [\n      'Everything in Launch, including your website',\n      'Everything in Growth + Search',\n      'Growth + Social for one social channel',\n      ...ACCELERATE_ONLY_INCLUSIONS,\n      'One website, billed once — not twice',\n    ],\n    cta: {\n      label: 'Book a strategy call',\n      href: BOOK_CALL_SENTINEL,\n      enquireHref: '/contact?intent=accelerate',\n    },\n  },\n];\n\n/**\n * The date the prices below were last reviewed, ISO `YYYY-MM-DD`.\n *\n * Rendered on /pricing and emitted as `dateModified` in the page's structured\n * data. Bump it whenever a figure in `TIERS` or `GROWTH_PROGRAMS` changes — an\n * undated price is why stale figures win.\n *\n * A retrieval system choosing between this page and an indexed copy of a page we\n * deleted years ago has nothing to break the tie unless one of them is dated.\n * That is not hypothetical: third-party \"best agency\" listicles have quoted our\n * 2024 pricing back at us, and the pages they took it from had no date either.\n */\n/**\n * The plan we steer an undecided reader towards, and the words we badge it with.\n *\n * Growth + Search, because Launch answers \"I need a website\" and most\n * practices lead with search over social — this is the one that suits a\n * practice with no strong reason to pick otherwise.\n *\n * It lives here rather than in each card because it is a claim about the\n * business, not a styling choice, and it was already being asserted in two\n * places: PathChooser's own card data said \"Most popular\" while /pricing said\n * nothing at all. One tier can hold it at a time, so this is an id, not a flag\n * per tier that nothing stops being set twice.\n *\n * \"Most popular\" is a factual claim about what practices buy. If that stops\n * being true of Growth + Search, move the id — do not soften the label, since\n * a claim about a health service's uptake that we cannot support is the kind\n * of thing AHPRA and the ACL both care about.\n */\nexport const RECOMMENDED_TIER_ID: TierId = 'growth';\nexport const RECOMMENDED_TIER_LABEL = 'Most popular';\n\nexport const PRICING_LAST_REVIEWED = '2026-10-04';\n\n/** `PRICING_LAST_REVIEWED` as long-form Australian English, e.g. `27 July 2026`. */\nexport function pricingLastReviewedLabel(): string {\n  return new Date(`${PRICING_LAST_REVIEWED}T00:00:00Z`).toLocaleDateString('en-AU', {\n    day: 'numeric',\n    month: 'long',\n    year: 'numeric',\n    timeZone: 'UTC',\n  });\n}\n\n/**\n * Formats an AUD amount the way every price on the site should read: `$1,000`.\n *\n * Always emit the `$` and the digits as ONE string. Writing `${'$'}{value}` in\n * JSX makes React render two adjacent text nodes separated by a comment marker\n * (`$<!-- -->1,000`) so it can tell them apart when hydrating. Humans never see\n * it, but scrapers and LLMs reading raw HTML do, and a mangled price is worse\n * than no price — it's how a stale figure from somewhere else wins.\n */\nexport function formatAud(amount: number): string {\n  return `$${amount.toLocaleString('en-AU')}`;\n}\n\n/**\n * The words every surface uses to mark a figure as an entry price rather than\n * the rate a given practice will pay.\n *\n * Declared once so the phrasing changes in one place. It reads \"Starting from\"\n * rather than the bare \"From\" it replaced: \"From $200/mo\" scans as a fixed\n * rate with a decorative preposition, where \"Starting from\" states plainly\n * that the figure is a floor. Every plan has a range above it — Launch and\n * Growth by practitioner count, Accelerate by scope — so the floor is what an\n * entry surface can honestly advertise.\n *\n * Capitalised, because it leads the string on every surface that renders it.\n * Prose callers lower-case it to drop it mid-sentence.\n */\nexport const PRICE_FROM_PREFIX = 'Starting from';\n\n/**\n * Monthly price for a tier on a given track, e.g. `$500/mo`, or `Starting from\n * $2,500/mo` on a `pricingModel: 'from'` tier — the actual scope and price\n * are worked out on a call, so that one is a starting point, not a rate.\n *\n * Launch and Growth deliberately render the bare figure. Both are quoted per\n * practitioner band, and every surface that shows them names the band, so the\n * number is exact for the reader in front of it — a \"starting from\" on an\n * already-resolved rate implies a range the band has settled.\n *\n * Pass `{ capitalisePrefix: false }` where the string lands mid-sentence: on a\n * 'from' tier the prefix leads the string, and a capital in prose reads as a\n * typo. It is a no-op on the fixed tiers, which open with the figure.\n */\nexport function tierPrice(\n  tier: Tier,\n  track: PracticeTrack,\n  { capitalisePrefix = true }: { capitalisePrefix?: boolean } = {}\n): string {\n  const prefix =\n    tier.pricingModel === 'from'\n      ? `${capitalisePrefix ? PRICE_FROM_PREFIX : PRICE_FROM_PREFIX.toLowerCase()} `\n      : '';\n  return `${prefix}${formatAud(tier.pricing[track])}/mo`;\n}\n\nexport function getTier(id: TierId): Tier {\n  const tier = TIERS.find((t) => t.id === id);\n  if (!tier) throw new Error(`Unknown tier: ${id}`);\n  return tier;\n}\n\n/**\n * Total payable up front for the first 12 months on a `first-year-upfront`\n * tier. Derived from the monthly rate so the two can never disagree.\n */\nexport function firstYearTotal(tier: Tier, track: PracticeTrack): number {\n  return tier.pricing[track] * 12;\n}\n\n/** First-year total, formatted: `$2,400`. */\nexport function firstYearPrice(tier: Tier, track: PracticeTrack): string {\n  return formatAud(firstYearTotal(tier, track));\n}\n\n/**\n * How the headline monthly rate is actually billed, as a fragment to render\n * directly beneath the price:\n * `billed annually for the first year — $2,400 — then monthly`.\n *\n * It omits `inc. GST`, because every surface that renders it already states\n * that next to the headline price and the two figures are inclusive alike.\n *\n * Every surface that leads with `$200/mo` on a `first-year-upfront` tier must\n * render this next to it. The monthly rate on its own is the number the buyer\n * compares plans on, but the first invoice is twelve of them at once. Quoting\n * the rate without the sum charged is the component-pricing problem the\n * Australian Consumer Law single-price rule is concerned with — the total has\n * to be at least as prominent as the parts, not a footnote a scroll away.\n */\nexport function billingNote(tier: Tier, track: PracticeTrack): string {\n  if (tier.billing === 'first-year-upfront') {\n    return `billed annually for the first year, ${firstYearPrice(\n      tier,\n      track\n    )}, then monthly`;\n  }\n  return 'billed monthly';\n}\n\n/**\n * Both tracks in one sentence fragment, for prose and FAQ answers:\n * `$500/mo (1–2 practitioners) or $1,000/mo (3+ practitioners), inc. GST`.\n *\n * On a `pricingModel: 'from'` tier there are no tracks to state, so it reads\n * `starting from $2,500/mo, inc. GST, scoped to your practice`.\n *\n * On a `first-year-upfront` tier it leads with the monthly rate and states the\n * first-year sum in the same breath, because the rate is what a buyer compares\n * plans on and the sum is what they are actually invoiced:\n * `$200/mo (1–2 practitioners) or $400/mo (3+ practitioners), inc. GST, billed\n * annually for the first year — $2,400 or $4,800 — then monthly, cancel any\n * time after the first year with 30 days' notice`.\n *\n * Never emit the monthly rate on its own here. A plan whose first invoice is\n * $2,400 advertised as \"$200/mo\" understates what the buyer pays, which is the\n * component-pricing problem the Australian Consumer Law single-price rule is\n * concerned with. The rate may lead; the total may not be dropped.\n *\n * Every page that quotes a price in prose should call this rather than hardcode\n * the figures. Stale hardcoded prices on our own pages are what let third-party\n * \"best agencies\" listicles cite pricing we stopped charging.\n */\nexport function tierPriceSentence(id: TierId): string {\n  const tier = getTier(id);\n\n  // A 'from' tier isn't split by practitioner count — the whole point is\n  // that the price is scoped per engagement, not read off a fixed table.\n  //\n  // Lower-cased, unlike the fixed branches, because this is the only branch\n  // that opens with a word rather than a figure. Callers drop it mid-sentence\n  // (\"Accelerate is …\"), so a capital would read as a typo; the two that lead\n  // a sentence with it prefix \"Priced\".\n  if (tier.pricingModel === 'from') {\n    return `${tierPrice(tier, 'solo', {\n      capitalisePrefix: false,\n    })}, inc. GST, scoped to your practice`;\n  }\n\n  // Flat pricing, decided 2026-08-24 (Launch and Growth both qualify): no\n  // practitioner-count band to state, so the \"(1–2) or (3+)\" split — which\n  // would otherwise repeat the identical figure twice — is dropped entirely.\n  if (tier.pricing.solo === tier.pricing.practice) {\n    if (tier.billing === 'first-year-upfront') {\n      return (\n        `${tierPrice(tier, 'solo')}, inc. GST, for any practice size, billed annually for the ` +\n        `first year, ${firstYearPrice(tier, 'solo')}, then monthly, cancel any time after ` +\n        `the first year with 30 days' notice`\n      );\n    }\n    return `${tierPrice(tier, 'solo')}, inc. GST, for any practice size`;\n  }\n\n  if (tier.billing === 'first-year-upfront') {\n    return (\n      `${tierPrice(tier, 'solo')} (1–2 practitioners) or ${tierPrice(\n        tier,\n        'practice'\n      )} (3+ practitioners), inc. GST, billed annually for the first year, ` +\n      `${firstYearPrice(tier, 'solo')} or ${firstYearPrice(tier, 'practice')}, ` +\n      `then monthly, cancel any time after the first year with 30 days' notice`\n    );\n  }\n\n  return `${tierPrice(tier, 'solo')} (1–2 practitioners) or ${tierPrice(\n    tier,\n    'practice'\n  )} (3+ practitioners), inc. GST`;\n}\n\n/**\n * The add-on programmes, by id.\n *\n * Declared as a union rather than `string` so anything that recommends or\n * bundles a programme (the Find your fit mapping, checkout payloads) cannot\n * reference one that does not exist, and renaming one here surfaces every\n * caller at compile time instead of at runtime as a thrown\n * `Unknown growth program`.\n *\n * `packages/stripe`'s `AddonId` is deliberately narrower: it lists only the\n * three that can be bought at checkout today.\n */\nexport type GrowthProgramId =\n  | 'social-media-marketing'\n  | 'gp-allied-health-warming'\n  | 'ads-management'\n  | 'multilingual-websites'\n  | 'physical-marketing-materials'\n  | 'professional-photography'\n  | 'practice-growth-roadmap'\n  | 'practice-workflow-review'\n  | 'custom-solutions';\n\nexport interface GrowthProgram {\n  id: GrowthProgramId;\n  name: string;\n  /** Fixed price in AUD, or 'on-request' for custom-quoted programs. */\n  price: number | 'on-request';\n  /** 'monthly' (default, most programs) or 'once-off' for a single deliverable, not a subscription. */\n  billing?: 'monthly' | 'once-off';\n  description: string;\n  /** Who this is for, in one line — rendered as \"Perfect for: …\" beneath the description. */\n  perfectFor: string;\n  /**\n   * One line, rendered under \"Perfect for:\", for an audience the stated price\n   * does not cover.\n   *\n   * Say who is scoped separately and why the work differs — never what the\n   * separate engagement costs or what it includes. Those vary per deal, and a\n   * figure or an inclusion published here becomes one we have to honour for\n   * everyone who read it.\n   */\n  scopeNote?: string;\n  /** Link to the relevant service page for more detail. */\n  href?: string;\n  /**\n   * Free-text service-area restriction, e.g. a geography. Rendered as a\n   * badge everywhere the programme is shown — Photography only today\n   * (Sharon shoots it personally, Melbourne metro only).\n   */\n  restriction?: string;\n  /**\n   * True for the one programme every quote and every wizard result should\n   * surface regardless of what the visitor actually asked for — Photography\n   * only today, because it elevates the site itself and feeds both the\n   * Social and Local Search programmes with real content, so it compounds\n   * with almost anything else bought. Surfaces render this as an unconditional\n   * callout, not as a `recommend()` output — see lib/find-your-fit.ts, which\n   * deliberately never auto-attaches a programme nobody asked about.\n   */\n  alwaysRecommend?: boolean;\n  /**\n   * 'from' means `price` is a floor, not the rate — the same signal\n   * `Tier.pricingModel` carries. Every price-rendering surface prefixes\n   * `PRICE_FROM_PREFIX`. Undefined behaves as 'fixed'.\n   *\n   * Every priced programme is 'from', because none of them is a fixed bundle:\n   * content pillars, channel mix, volume and cadence are strategised per\n   * client rather than read off a card, and the nuances stay negotiable. A\n   * flat figure on a card we then scope on the call is the mismatch this\n   * signal exists to prevent — the plans are the fixed-price product, the\n   * programmes are quoted around what the practice is trying to grow.\n   *\n   * The two social media programmes are separate entries rather than one wide\n   * 'from' range because a practice and an institution are not buying the same\n   * thing — see their descriptions.\n   */\n  pricingModel?: 'fixed' | 'from';\n  /**\n   * A lighter, cheaper entry point than `price` — priced per unit rather than\n   * as a flat retainer, for a lead who wants to start light rather than not\n   * buy at all. Social Media Marketing only today: content posting (static,\n   * carousel, reposts) with no community management or engagement work, so\n   * it is reputation and exposure, not growth. Presented as its own\n   * standalone tier, not as `price` minus a named add-on — that framing\n   * tested as confusing (2026-08-25).\n   */\n  perPostBase?: {\n    pricePerPost: number;\n    minimumPosts: number;\n    /** What this base tier does and does not include, rendered as-is. */\n    description: string;\n  };\n}\n\nexport const GROWTH_PROGRAMS: GrowthProgram[] = [\n  {\n    id: 'social-media-marketing',\n    name: 'Social Media Marketing',\n    price: 700,\n    pricingModel: 'from',\n    description:\n      'The full service: a strategy built around your specialty, then planned, designed, scheduled and community-managed for you, replying to comments and DMs and proactively growing engagement on top of the posting itself. What goes into the package differs from practice to practice. Most sit somewhere around 4–8 AHPRA-compliant posts a month, on the channels that suit them.',\n    perfectFor:\n      'private practices introducing their services and their practitioners, and want the engagement side handled too.',\n    scopeNote:\n      'Hospital departments and public health services are quoted separately, on a call — different audience, different approval process.',\n    href: '/services/social-media-marketing',\n    // Added 2026-08-24. A budget-conscious lead was being quoted the same\n    // $700 as a practice that wants full engagement management, and losing\n    // them entirely rather than converting them at a lighter scope. This is\n    // the cheaper on-ramp: content posting only, priced per post so the\n    // total scales with what's actually ordered rather than being read off\n    // a single retainer figure.\n    perPostBase: {\n      pricePerPost: 100,\n      minimumPosts: 4,\n      description:\n        'Content posting only: static, carousel and repost formats, AHPRA-reviewed and scheduled, at least one post a week. Builds reputation and exposure. Does not include replying to comments or DMs, or proactively growing engagement — the full service above covers that.',\n    },\n  },\n  {\n    // Added 2026-08-24. Melbourne metro only — shot by Sharon personally,\n    // not outsourced, so do not quote it for a practice outside Melbourne.\n    // The one programme every surface should always suggest: real photos\n    // lift the website itself and become source material for both the\n    // Social and Local Search programmes, so it compounds with whatever\n    // else a practice buys rather than competing with it. Ordered first\n    // among the individual programmes (2026-08-25) so the one thing every\n    // practice should add is the first card, not the last.\n    id: 'professional-photography',\n    name: 'Professional Photography',\n    price: 450,\n    billing: 'once-off',\n    restriction: 'Melbourne metro only',\n    alwaysRecommend: true,\n    description:\n      'Up to 2 hours: headshots, a team photo and a handful of clinic interior and exterior shots, edited and delivered digital. Real photography elevates the website and gives your Social and Google Business Profile posts genuine content to run with, rather than stock imagery.',\n    perfectFor: 'every practice — it strengthens the site and feeds the content programmes above.',\n  },\n  {\n    // Added 2026-10-03. A fixed-price, once-off strategy product for\n    // established practices, sold on its own rather than as a step into a\n    // plan: no credit toward a plan, and the roadmap names who could do each\n    // item (their team, their current supplier, or us). Both calls are in\n    // the price. Not a 'from' price: the scope is fixed, see\n    // docs/busybeedoc/roadmap/report-template.md for what is and is not in it.\n    id: 'practice-growth-roadmap',\n    name: 'Practice Growth Roadmap',\n    price: 990,\n    billing: 'once-off',\n    description:\n      'A review of how patients find, choose and contact your practice: search, your Google Business Profile, reviews, social and the enquiry path. Delivered as a written 90-day roadmap, with a 30-minute kickoff call and a one-hour strategy session included.',\n    perfectFor:\n      'established practices with several practitioners that want a clear plan before spending more on marketing.',\n    href: '/services/practice-growth-roadmap',\n  },\n  {\n    // Added 2026-10-04. The operations counterpart to the Roadmap, for solo\n    // practitioners and small clinics at or near capacity that rely on word of\n    // mouth and referrers and need the admin automated rather than more\n    // patients. Fixed scope and standalone like the Roadmap: no credit toward\n    // a build, and the plan names who could build each item. Ends with a\n    // fixed quote for any builds the practice wants us to do.\n    id: 'practice-workflow-review',\n    name: 'Practice Workflow Review',\n    price: 490,\n    billing: 'once-off',\n    description:\n      'A review of the admin workflows in your practice, from referrals and intake to reminders, recalls, letters and payment follow-up. Delivered as a written automation plan with estimated hours per week and a fixed quote for any builds, with a 30-minute kickoff call and a 45-minute session included. Patient information stays on Australian-hosted tools.',\n    perfectFor:\n      'solo practitioners and small clinics with full books whose admin runs on manual steps.',\n    href: '/services/practice-workflow-review',\n  },\n  {\n    id: 'gp-allied-health-warming',\n    name: 'GP/Allied Health Warming',\n    price: 1500,\n    pricingModel: 'from',\n    description:\n      'Around 1 new referral partner warmed a week, plus ongoing nurture for your existing GP and allied health connections. Who we target and how hard we work each relationship is set by your specialty and catchment.',\n    perfectFor: 'practices that rely on GP and allied health referrals to fill the book.',\n    href: '/services/gp-allied-health-warming',\n  },\n  {\n    id: 'ads-management',\n    name: 'Ads Management',\n    price: 1000,\n    pricingModel: 'from',\n    description:\n      'Google and Meta ads, managed weekly. Ad spend billed separately, with transparent reporting. Scoped to the channels and campaign types your specialty actually converts on.',\n    perfectFor: 'practices that want patients booking in weeks, not after months of SEO.',\n    href: '/services/google-ads-for-doctors',\n  },\n  {\n    id: 'multilingual-websites',\n    name: 'Multilingual Websites',\n    price: 'on-request',\n    description:\n      'Your site translated into the languages your catchment speaks, native-reviewed and SEO-structured to rank in each one.',\n    perfectFor: 'practices in multicultural catchments losing patients to the language barrier.',\n    href: '/services/multilingual-websites',\n  },\n  {\n    id: 'physical-marketing-materials',\n    name: 'Physical Marketing Materials',\n    price: 1000,\n    billing: 'once-off',\n    pricingModel: 'from',\n    description:\n      'Business cards, brochures, referral pads and booklets, designed to match your brand and delivered print-ready. Quoted on the set of pieces you need.',\n    perfectFor: 'practices that want professional printed collateral for the front desk and referral partners.',\n  },\n  {\n    id: 'custom-solutions',\n    name: 'Custom Solutions & Automation',\n    price: 'on-request',\n    description:\n      'Bespoke workflows, integrations and AI-assisted automation: referral validation before booking, structured intake, automatic confirmations back to referring GPs, Power Automate flows in Microsoft 365, and internal dashboards. Built and maintained by us.',\n    perfectFor:\n      'practices where the manual admin around referrals, intake or bookings has become the bottleneck.',\n    // No figure, and deliberately not a `from` price either. The right build\n    // depends entirely on the workflow, so a published floor would be a number\n    // we have to honour for a scope we have not seen. We map the process first,\n    // then quote it.\n    scopeNote:\n      'Scoped and quoted after we map your workflow, because the right build depends on how your practice actually runs.',\n    href: '/services/custom-solutions',\n  },\n];\n\n/**\n * Add-on price for prose and FAQ answers, e.g. `$1,500/mo inc. GST`,\n * `starting from $700/mo inc. GST`, or `$1,000 one-off, inc. GST`.\n */\nexport function programPrice(id: GrowthProgramId): string {\n  const program = GROWTH_PROGRAMS.find((p) => p.id === id);\n  if (!program) throw new Error(`Unknown growth program: ${id}`);\n  if (program.price === 'on-request') return 'quoted on request';\n  // Lower-cased so the string drops into prose mid-sentence, the way\n  // 'quoted on request' already does. Card surfaces capitalise it themselves.\n  //\n  // Applied before the billing split rather than inside the monthly branch: a\n  // once-off deliverable is quoted on the set of pieces ordered, so it is as\n  // much a floor as the retainers are.\n  const prefix =\n    program.pricingModel === 'from' ? `${PRICE_FROM_PREFIX.toLowerCase()} ` : '';\n  if (program.billing === 'once-off') {\n    return `${prefix}${formatAud(program.price)} one-off, inc. GST`;\n  }\n  return `${prefix}${formatAud(program.price)}/mo inc. GST`;\n}\n\n/**\n * A programme's `perPostBase` price, e.g. `$100/post, $400/mo minimum`, or\n * `null` when the programme has no per-post entry point (every programme\n * except Social Media Marketing today).\n *\n * Separate from `programPrice()` rather than folded into it: that function\n * always names the full-service retainer, which every existing caller\n * (ServicePlanFit, the Find your fit wizard) still wants unchanged. This is\n * additive, for the surfaces that explicitly show the cheaper on-ramp.\n */\nexport function perPostBasePrice(id: GrowthProgramId): string | null {\n  const program = GROWTH_PROGRAMS.find((p) => p.id === id);\n  if (!program?.perPostBase) return null;\n  const { pricePerPost, minimumPosts } = program.perPostBase;\n  return `${formatAud(pricePerPost)}/post, ${formatAud(pricePerPost * minimumPosts)}/mo minimum`;\n}\n\n\n\n"},{"source":"apps/marketing-site-v2/app/terms/page.tsx","snapshot":"apps/marketing-site-v2/app/terms/page.tsx.txt","sha256":"80f2e3a6b89e09289eba4f0643a7a22a50f0f40e26b647c32877bc5330b8d13d","bytes":24824,"content":"import type { Metadata } from 'next';\nimport Link from 'next/link';\nimport { LEGAL } from '@/lib/legal';\n\nexport const metadata: Metadata = {\n  title: 'Terms of Service | BusyBeeDoc',\n  description:\n    'The Master Services Agreement for BusyBeeDoc website building and digital marketing services for Australian medical practices. Accepted at checkout, the same terms for every plan.',\n  alternates: { canonical: '/terms' },\n  robots: { index: true, follow: true },\n};\n\n// Date and version come from lib/legal.ts (single source of truth). Mirrors the\n// canonical source at docs/legal/master-services-agreement.md.\nexport default function TermsPage() {\n  return (\n    <main className=\"min-h-screen bg-white pt-32 pb-20\">\n      <article className=\"max-w-3xl mx-auto px-6 md:px-12\">\n        <h1\n          className=\"text-[36px] md:text-[42px] font-medium text-[#1d1b18] leading-[1.12] tracking-[-1.2px] mb-4\"\n          style={{ fontFamily: \"Satoshi, 'Messina Sans', sans-serif\" }}\n        >\n          Terms of Service\n        </h1>\n        <p className=\"text-[14px] text-[#6b665f] mb-12\">\n          Last updated: {LEGAL.effectiveDate} · Version {LEGAL.versions.msa}\n        </p>\n\n        <div className=\"space-y-10 text-[15px] text-[#3a3632] leading-[1.75]\">\n          <Section n={1} title=\"About this agreement\">\n            <p>\n              This Master Services Agreement (the &ldquo;Agreement&rdquo;) is between BusyBee\n              Labs Pty Ltd, ABN 68 688 853 723, trading as BusyBeeDoc\n              (&ldquo;we&rdquo;, &ldquo;us&rdquo;), and the medical practice or practitioner\n              that subscribes to or buys our services (&ldquo;you&rdquo;). The same Agreement\n              applies to every plan and every once-off service.\n            </p>\n            <p>\n              You enter into this Agreement when you tick the acceptance box and complete\n              payment at checkout. At that moment we record the version of these terms you\n              accepted, the date and time, and your selections (your &ldquo;Order&rdquo;). The\n              accepted version, together with your Order, forms the whole contract between us.\n              This Agreement incorporates our{' '}\n              <Link href=\"/privacy-policy\" className=\"text-[#1d1b18] underline\">\n                Privacy Policy\n              </Link>\n              .\n            </p>\n          </Section>\n\n          <Section n={2} title=\"The services\">\n            <p>\n              BusyBeeDoc provides website design, development, hosting, and — on plans that\n              include them — search engine optimisation, Google Business Profile management,\n              content marketing, and related digital services for Australian medical practices.\n            </p>\n            <p>\n              The scope of each plan and add-on is the standard scope published on our{' '}\n              <Link href=\"/pricing\" className=\"text-[#1d1b18] underline\">\n                pricing page\n              </Link>{' '}\n              and service catalogue at the time you subscribe. Where you can choose an option\n              (for example, which social platforms we post to), that option is a selection from\n              a defined list, not a negotiated variation. Your current Order is always visible\n              in your account.\n            </p>\n          </Section>\n\n          <Section n={3} title=\"Fees and payment\">\n            <ul className=\"list-disc pl-6 space-y-2\">\n              <li>All prices are in Australian dollars (AUD) and include GST. We issue a tax invoice for each payment.</li>\n              <li>\n                Where your plan includes a build fee (for example, the Launch build), it is\n                payable upfront and is non-refundable.\n              </li>\n              <li>Subscription fees are billed monthly in advance via Stripe. We do not store your card details.</li>\n              <li>\n                Once-off services are paid in full, in advance, at checkout (or on a tax invoice\n                where we agree to invoice you). See clause 4A.\n              </li>\n              <li>\n                Launch and Growth fees are the same regardless of how many practitioners are at\n                your practice.\n              </li>\n              <li>\n                If a payment fails and remains unpaid 14 days after we notify you, we may suspend\n                the services (including taking a hosted website offline) until it is paid. We\n                give at least 48 hours&rsquo; notice before suspending hosting.\n              </li>\n            </ul>\n          </Section>\n\n          <Section n={4} title=\"Term and cancellation\">\n            <ul className=\"list-disc pl-6 space-y-2\">\n              <li>\n                On <strong>Launch</strong>, the first 12 months are paid in advance and the\n                Agreement runs for that term; it continues month to month afterwards with no\n                further commitment. On <strong>Growth</strong> and <strong>Accelerate</strong>{' '}\n                there is no minimum term and no lock-in.\n              </li>\n              <li>\n                You may cancel with 30 days&rsquo; notice &mdash; at any time on Growth and\n                Accelerate, and at any time after the first year on Launch &mdash; from\n                your account or by emailing{' '}\n                <a href=\"mailto:hello@busybeedoc.com\" className=\"text-[#1d1b18] underline\">\n                  hello@busybeedoc.com\n                </a>\n                .\n              </li>\n              <li>\n                Fees already paid are not refunded, except where a refund is required by the\n                Australian Consumer Law. No cancellation or early-exit fee applies on any plan.\n              </li>\n              <li>\n                We may cancel on 30 days&rsquo; notice, or immediately if you seriously breach\n                this Agreement, if there is a security or legal risk, or if we are required to by\n                law.\n              </li>\n              <li>\n                On cancellation your website is taken offline at the end of the billing period.\n                We give you a reasonable opportunity to export your content and data\n                (see clause 7).\n              </li>\n            </ul>\n          </Section>\n\n          <Section n=\"4A\" title=\"Once-off services\">\n            <p>\n              This clause applies to the once-off services in our catalogue: currently the{' '}\n              <strong>Practice Growth Roadmap</strong>, the <strong>Practice Workflow Review</strong>,{' '}\n              <strong>Professional Photography</strong> and <strong>Physical Marketing Materials</strong>. It applies in addition to the rest\n              of this Agreement and, where it differs from clauses 3 and 4, this clause prevails\n              for those services.\n            </p>\n            <ul className=\"list-disc pl-6 space-y-2\">\n              <li>\n                <strong>Scope and price.</strong> Each once-off service has the fixed scope and\n                price published in our catalogue and on its service page when you buy it. It is not\n                a subscription, is not credited toward a plan, and buying one does not commit you to\n                anything further. Anything outside that scope, including carrying out\n                recommendations, is quoted separately.\n              </li>\n              <li>\n                <strong>Once-off reviews: what is included.</strong> The Practice Growth Roadmap\n                (the <strong>Roadmap</strong>) and the Practice Workflow Review (the{' '}\n                <strong>Workflow Review</strong>) are each a <strong>Review</strong>. The Roadmap\n                includes a 30-minute kickoff call, a review of your practice&rsquo;s search\n                visibility, Google Business Profile, reviews, social presence, website and enquiry\n                path, a written 90-day roadmap, a 60-minute strategy session, and 14 days of\n                questions by email after that session. The Workflow Review includes a 30-minute\n                kickoff call, a review of your practice&rsquo;s administrative workflows and the\n                tools you use for them, a written automation plan, a fixed quote for any builds you\n                ask us to quote, a 45-minute session to walk through the plan, and 14 days of\n                questions by email after that session.\n              </li>\n              <li>\n                <strong>What we need from you.</strong> The information requested in the intake\n                form. For the Roadmap, also the read-only access described on the confirmation page\n                (for example Google Analytics, Search Console and your Google Business Profile), and\n                our published timeframes run from when that access comes through. For the Workflow\n                Review, our published timeframes run from the kickoff call. We use any access you\n                give us only to deliver the Review, we do not change your settings, and you may\n                remove our access at any time after the final session. We do not need patient\n                information for either Review, and you should not send it to us. For the Workflow\n                Review, any examples, exports or screenshots you share with us must have patient\n                details removed first.\n              </li>\n              <li>\n                <strong>Scheduling.</strong> You may reschedule either call with at least 24\n                hours&rsquo; notice. If, 90 days after you pay, we have not been able to start\n                because that information or access has not been provided, we will contact you and\n                either of us may end the engagement. We will then refund the fee, less a reasonable\n                amount for work already done.\n              </li>\n              <li>\n                <strong>Cancellation and refunds.</strong> You may cancel a Review before the\n                kickoff call by emailing{' '}\n                <a href=\"mailto:hello@busybeedoc.com\" className=\"text-[#1d1b18] underline\">\n                  hello@busybeedoc.com\n                </a>{' '}\n                for a full refund. After the kickoff call, fees are not refunded except as above or\n                where a refund is required by the Australian Consumer Law. Professional Photography\n                and Physical Marketing Materials may be cancelled for a full refund before the shoot\n                date or before design work starts.\n              </li>\n              <li>\n                <strong>Recommendations, not guarantees.</strong> Each Review sets out our\n                recommendations based on the information available to us at the time, and whether\n                and how to act on each recommendation is your decision. The Roadmap does not\n                guarantee search rankings, enquiries, patient numbers, referrals or revenue. It\n                covers marketing only and is not legal, financial, clinical or operational advice.\n                The hours saved and effort shown in the Workflow Review are estimates and are not\n                guaranteed. It covers administrative workflows only and is not legal, financial,\n                clinical or billing advice. A quote in the Workflow Review is a separate offer, open\n                for 30 days from the date we send it, after which we may revise it: any build you\n                accept is a separate purchase, and the fee for the Workflow Review is not\n                credited toward it. Clause 6 applies to any recommendation that involves\n                advertising content.\n              </li>\n              <li>\n                <strong>Ownership.</strong> The written roadmap, automation plan and report are\n                yours to use, copy and share within your practice and with the suppliers you engage\n                to carry them out. Our methods, checklists, templates and tools remain ours. We will\n                not publish your roadmap or automation plan or identify your practice without your\n                permission.\n              </li>\n              <li>\n                <strong>The live roadmap page.</strong> We deliver the roadmap as a private web page\n                at a link we send you. Anyone with the link can view the page and update its status,\n                owner and notes, so share it only with people you trust, and tell us if you want the\n                link replaced. Do not put patient information in the notes. We keep the page\n                available for at least 12 months after delivery and give you a copy of its contents\n                on request.\n              </li>\n            </ul>\n          </Section>\n\n          <Section n={5} title=\"Your responsibilities\">\n            <p>You are responsible for your practice&rsquo;s compliance with the law and your professional obligations. You agree to:</p>\n            <ul className=\"list-disc pl-6 mt-2 space-y-1\">\n              <li>Provide accurate and complete information about your practice.</li>\n              <li>Hold the patient consents required before any patient information is collected through the services.</li>\n              <li>Meet your professional obligations to keep and protect medical records under the laws of your state or territory.</li>\n              <li>Review and approve content in a timely manner (see clause 6).</li>\n              <li>Keep your account credentials secure and not use the services for any unlawful purpose.</li>\n            </ul>\n          </Section>\n\n          <Section n={6} title=\"AHPRA and content compliance\">\n            <p>\n              When we create your website copy &mdash; and, on plans that include ongoing content,\n              the content we produce for you each month &mdash; we apply the Australian Health\n              Practitioner Regulation Agency (AHPRA) and Medical Board of Australia advertising\n              guidelines as part of our service, and we will flag content we think creates a\n              compliance risk. Building AHPRA-compliant content is what we are engaged to do,\n              and we stand behind that work: if content we produced does not meet the\n              guidelines, we will correct it promptly at our cost.\n            </p>\n            <p>\n              You are the registered health practitioner and are responsible, to AHPRA and at\n              law, for your practice&rsquo;s advertising. Because we draft content on your\n              behalf, we may also be an advertiser under the National Law, and we take that\n              seriously &mdash; but our review does not displace your own obligations.{' '}\n              <strong>You must review and approve all content before it is published,</strong>{' '}\n              and your approval is your confirmation that the content meets your professional\n              and regulatory obligations.\n            </p>\n            <p>\n              Two limits on that. We are not lawyers and do not provide legal or regulatory\n              advice. And whether particular advertising complies is ultimately a matter for\n              AHPRA, a court or a tribunal &mdash; not something we, or anyone else, can\n              determine in advance. So while we build to the guidelines and correct our own\n              work, we cannot guarantee the outcome of a regulatory assessment, and guidelines\n              change over time. Where you are unsure, you should obtain your own professional\n              advice.\n            </p>\n            <p>\n              We may decline to publish, or may remove, content we reasonably believe breaches\n              AHPRA advertising obligations or any law, and will tell you if we do. To the\n              maximum extent permitted by law (and subject to clauses 11 and 12), we are not\n              liable for any complaint, investigation, finding, penalty, or loss arising from\n              content published on your website or in your communications, including any AHPRA or\n              Medical Board action.\n            </p>\n          </Section>\n\n          <Section n={7} title=\"Intellectual property\">\n            <p>\n              <strong>Your content:</strong> you own the text, images, logos, and practice\n              information you provide. You grant us the licence we need to host, display, and\n              process it to deliver the services.\n            </p>\n            <p>\n              <strong>Your website and domain:</strong> you own your website&rsquo;s source code\n              and your domain name (your domain is always registered in your name). On request we\n              provide a clean, deployable export of your site&rsquo;s source code so you can\n              self-host it elsewhere. Nothing here locks you to us beyond the plan term set\n              out above.\n            </p>\n            <p>\n              <strong>Our managed platform:</strong> the forms, secure file uploads, email\n              notifications, client portal, and Sydney-hosted backend run on our managed\n              infrastructure and remain ours. While you are subscribed we grant you a\n              non-exclusive, non-transferable licence to use them. This managed functionality is\n              not transferred on cancellation.\n            </p>\n            <p>\n              <strong>On cancellation:</strong> your website is taken offline at the end of the\n              billing period. We hand over your domain, your content and data, and a deployable\n              export of your website source code. The managed backend functions (forms, uploads,\n              email notifications, portal) do not transfer; if you wish to fully self-host, a\n              one-off migration package is available.\n            </p>\n            <p>\n              <strong>BusyBeeDoc brand:</strong> the BusyBeeDoc name, logo, and website remain the\n              property of BusyBee Labs Pty Ltd.\n            </p>\n          </Section>\n\n          <Section n={8} title=\"Hosting and availability\">\n            <p>\n              Websites built by BusyBeeDoc are hosted on our infrastructure, included for the\n              duration of your subscription. We aim for 99.9% uptime but do not guarantee\n              uninterrupted service, and the services may be unavailable for maintenance,\n              upgrades, or reasons outside our control. We may improve or change the tools and\n              platforms we use, provided we do not materially reduce the scope you subscribed to.\n            </p>\n          </Section>\n\n          <Section n={9} title=\"Privacy and patient data\">\n            <p>\n              We handle patient and personal information only on your documented instructions and\n              only to deliver the services, as set out in our Data Processing Agreement. All\n              patient data is stored in Australia (AWS ap-southeast-2). We do not use patient data\n              for marketing, AI training, or profiling. See our{' '}\n              <Link href=\"/privacy-policy\" className=\"text-[#1d1b18] underline\">\n                Privacy Policy\n              </Link>{' '}\n              for how we handle your information.\n            </p>\n          </Section>\n\n          <Section n={10} title=\"Confidentiality\">\n            <p>\n              Each party will keep the other&rsquo;s confidential information private and use it\n              only for this Agreement, except where disclosure is required by law. This\n              obligation continues for two (2) years after the Agreement ends.\n            </p>\n          </Section>\n\n          <Section n={11} title=\"Consumer guarantees and warranties\">\n            <p>\n              Our services come with guarantees that cannot be excluded under the Australian\n              Consumer Law. Nothing in this Agreement excludes, restricts, or modifies those\n              guarantees. Apart from those guarantees and any other warranty implied by law that\n              cannot be excluded, the services are provided &ldquo;as is&rdquo;. The services\n              support your practice&rsquo;s operations and are not a clinical decision-making\n              system.\n            </p>\n          </Section>\n\n          <Section n={12} title=\"Limitation of liability\">\n            <p>\n              To the maximum extent permitted by law, and subject to clause 11, BusyBee Labs Pty\n              Ltd is not liable for any indirect, incidental, or consequential loss arising from\n              the services, including loss of revenue, loss of patients, or loss of data.\n            </p>\n            <p>\n              Our total aggregate liability for any claim relating to the services &mdash; whether\n              in contract, tort (including negligence), statute, or otherwise &mdash; is limited\n              to the total fees you paid us in the three (3) months immediately before the event\n              giving rise to the claim. Where liability cannot lawfully be excluded but can be\n              limited, our liability is limited, at our option, to resupplying the services or\n              paying the cost of having them resupplied.\n            </p>\n          </Section>\n\n          <Section n={13} title=\"Force majeure\">\n            <p>\n              Neither party is liable for delay or failure to perform caused by an event beyond\n              its reasonable control (including natural disaster, pandemic, cyber-attack, or a\n              prolonged third-party platform outage such as AWS, Google, or Cloudflare). If such\n              an event continues for more than 30 days, either party may end this Agreement on 7\n              days&rsquo; written notice without liability (except for fees already due).\n            </p>\n          </Section>\n\n          <Section n={14} title=\"Resolving disputes\">\n            <p>\n              If a dispute arises, the parties will first try to resolve it through good-faith\n              negotiation, started by written notice. If it is not resolved within 14 days,\n              either party may refer it to mediation (mediator agreed between the parties, or\n              failing agreement within 7 days, appointed by the Law Institute of Victoria; costs\n              shared equally). Nothing in this clause prevents a party from seeking urgent relief\n              from a court.\n            </p>\n          </Section>\n\n          <Section n={15} title=\"Changes to these terms\">\n            <p>\n              We may update these terms from time to time. The version you accepted at checkout\n              continues to apply to you until you accept a new version. For minor changes we\n              publish the updated version with a new date. For material changes (fees,\n              cancellation, liability, intellectual property, or how we handle patient data) we\n              give you at least 30 days&rsquo; notice by email; if you continue to use the\n              services after the change takes effect, you accept the new version. We keep an\n              archive of every version and its date.\n            </p>\n          </Section>\n\n          <Section n={16} title=\"Governing law\">\n            <p>\n              This Agreement is governed by the laws of Victoria, Australia. The parties submit to\n              the non-exclusive jurisdiction of its courts.\n            </p>\n          </Section>\n\n          <Section n={17} title=\"Contact us\">\n            <p>If you have any questions about these terms, please contact us:</p>\n            <div className=\"mt-4 space-y-1\">\n              <p className=\"font-medium text-[#1d1b18]\">BusyBee Labs Pty Ltd</p>\n              <p>ABN 68 688 853 723</p>\n              <p>\n                Email:{' '}\n                <a href=\"mailto:hello@busybeedoc.com\" className=\"text-[#1d1b18] underline\">\n                  hello@busybeedoc.com\n                </a>\n              </p>\n            </div>\n          </Section>\n        </div>\n\n        <div className=\"mt-16 pt-8 border-t border-[#ddd6cc]/60\">\n          <Link\n            href=\"/\"\n            className=\"inline-flex min-h-[32px] items-center text-[14px] text-[#6b665f] hover:text-[#1d1b18] transition-colors\"\n          >\n            ← Back to home\n          </Link>\n        </div>\n      </article>\n    </main>\n  );\n}\n\nfunction Section({\n  n,\n  title,\n  children,\n}: {\n  /** A number, or a string for an inserted clause such as \"4A\" (so later clause numbers, and the references to them, stay put). */\n  n: number | string;\n  title: string;\n  children: React.ReactNode;\n}) {\n  return (\n    <section>\n      <h2\n        className=\"text-[20px] font-medium text-[#1d1b18] mb-4\"\n        style={{ fontFamily: \"Satoshi, 'Messina Sans', sans-serif\" }}\n      >\n        {n}. {title}\n      </h2>\n      <div className=\"space-y-3\">{children}</div>\n    </section>\n  );\n}\n"},{"source":"apps/marketing-site-v2/app/dpa/page.tsx","snapshot":"apps/marketing-site-v2/app/dpa/page.tsx.txt","sha256":"215bfa863a2578fd6387ae4ffea7884c552a2a22a474e73947d9079aedf7317f","bytes":16184,"content":"import type { Metadata } from 'next';\nimport Link from 'next/link';\nimport { LEGAL } from '@/lib/legal';\n\nexport const metadata: Metadata = {\n  title: 'Data Processing Agreement | BusyBeeDoc',\n  description:\n    'How BusyBeeDoc handles patient and personal information on behalf of Australian medical practices. Forms part of the Master Services Agreement, accepted at checkout.',\n  alternates: { canonical: '/dpa' },\n  robots: { index: true, follow: true },\n};\n\n// Public, plain-English mirror of Schedule 1 (DPA) of the signed BusyBeeDoc\n// Master Services Agreement. The signed MSA is the source of truth; this page\n// and the portal /dpa must match it and each other. When Schedule 1 changes,\n// update this page, apps/portal/src/app/(marketing)/dpa/page.tsx, and the MSA\n// template together, and bump LEGAL.versions.dpa in lib/legal.ts.\nexport default function DpaPage() {\n  return (\n    <main className=\"min-h-screen bg-white pt-32 pb-20\">\n      <article className=\"max-w-3xl mx-auto px-6 md:px-12\">\n        <h1\n          className=\"text-[36px] md:text-[42px] font-medium text-[#1d1b18] leading-[1.12] tracking-[-1.2px] mb-4\"\n          style={{ fontFamily: \"Satoshi, 'Messina Sans', sans-serif\" }}\n        >\n          Data Processing Agreement\n        </h1>\n        <p className=\"text-[14px] text-[#6b665f] mb-12\">\n          Effective {LEGAL.dpaEffectiveDate} · Version {LEGAL.versions.dpa}\n        </p>\n\n        <div className=\"space-y-10 text-[15px] text-[#3a3632] leading-[1.75]\">\n          <section className=\"space-y-3\">\n            <p>\n              This Data Processing Agreement (&ldquo;DPA&rdquo;) describes how BusyBee Labs Pty\n              Ltd, trading as BusyBeeDoc (&ldquo;Processor&rdquo;), handles patient and personal\n              information on behalf of the Australian medical practice that has subscribed\n              (&ldquo;Controller&rdquo;). It forms part of the Master Services Agreement between\n              BusyBeeDoc and the Controller. If there is any inconsistency between this DPA and the\n              rest of that Agreement, <strong>this DPA prevails</strong> on data-processing\n              matters.\n            </p>\n            <p>\n              This DPA is governed by the laws of Victoria, Australia, and should be read alongside\n              our{' '}\n              <Link href=\"/privacy-policy\" className=\"text-[#1d1b18] underline\">\n                Privacy Policy\n              </Link>{' '}\n              and{' '}\n              <Link href=\"/terms\" className=\"text-[#1d1b18] underline\">\n                Terms of Service\n              </Link>\n              .\n            </p>\n          </section>\n\n          <Section n={1} title=\"Roles\">\n            <p>\n              The Controller determines the purpose and means of processing patient data. The\n              Processor handles patient data only on the Controller&rsquo;s behalf and under its\n              documented instructions. Both parties comply with the Privacy Act 1988 (Cth) and the\n              Australian Privacy Principles (APPs). The Controller, as a health service provider,\n              acknowledges that Health Information attracts additional protections under applicable\n              Australian privacy legislation.\n            </p>\n          </Section>\n\n          <Section n={2} title=\"What we process and why\">\n            <p>The Processor handles patient data solely to:</p>\n            <ul className=\"list-disc pl-6 space-y-2\">\n              <li>Operate patient intake and referral forms on the Controller&rsquo;s website.</li>\n              <li>Store form submissions for retrieval by the Controller through the portal.</li>\n              <li>Send administrative email notifications to the practice.</li>\n              <li>Provide technical maintenance and security monitoring.</li>\n            </ul>\n            <p>\n              Patient data is <strong>not</strong> used for marketing, AI training, profiling, or\n              disclosed to third parties without the Controller&rsquo;s written consent.\n            </p>\n          </Section>\n\n          <Section n={3} title=\"Data storage and residency\">\n            <p>\n              All patient data is stored and processed exclusively in Australia on AWS Asia\n              Pacific (Sydney) infrastructure (ap-southeast-2). Data is not transferred outside\n              Australia without the Controller&rsquo;s prior written consent, consistent with\n              APP 8.\n            </p>\n            <ul className=\"list-disc pl-6 space-y-2\">\n              <li>\n                <strong>Database:</strong> Supabase on AWS ap-southeast-2 — per-client schema\n                isolation and row-level security (RLS).\n              </li>\n              <li>\n                <strong>File storage:</strong> Amazon S3 ap-southeast-2 — per-client key prefix\n                isolation, private access only.\n              </li>\n              <li>\n                <strong>Email delivery:</strong> Amazon SES ap-southeast-2.\n              </li>\n            </ul>\n          </Section>\n\n          <Section n={4} title=\"Email notifications and reasonable security measures\">\n            <p>\n              Email is standard and accepted practice for administrative notifications in\n              Australian medical settings, consistent with OAIC guidance and RACGP 5th edition\n              standards. The Processor applies TLS 1.2+ encryption in transit via Amazon SES; SPF,\n              DKIM, and DMARC sender authentication; and Australian mail infrastructure throughout.\n            </p>\n            <p>\n              Standard notification emails to the practice may include basic patient contact\n              details sufficient to action an enquiry (name, date of birth, phone, reason for\n              contact, medication name for script repeats, referral reason). Uploaded files are{' '}\n              <strong>never</strong> attached to an email, and full clinical records are never\n              reproduced in an email body.\n            </p>\n            <p>\n              How an uploaded document reaches the practice depends on the delivery mode\n              configured for that practice:\n            </p>\n            <ul className=\"list-disc pl-6 space-y-2\">\n              <li>\n                <strong>Portal delivery</strong> &mdash; the notification contains a link to the\n                authenticated portal. The file is reachable only after sign-in, and every view and\n                download is logged.\n              </li>\n              <li>\n                <strong>Email delivery</strong> &mdash; the notification contains a time-limited\n                download link, currently valid for 7 days. Anyone with access to that email can\n                open the link without signing in. We provide this at the Controller&rsquo;s\n                direction; the Controller is responsible for its practice inbox access controls\n                and accepts the associated risk.\n              </li>\n            </ul>\n            <p>\n              Portal delivery is the more secure option and the one we recommend. A practice may\n              ask us to change its delivery mode at any time.\n            </p>\n            <p>\n              Patient confirmation emails may include information the patient themselves submitted\n              (their name, form type, summary of request), consistent with standard Australian GP\n              practice. The patient&rsquo;s act of submitting the form constitutes implied consent\n              to receive a confirmation email at the address provided.\n            </p>\n          </Section>\n\n          <Section n={5} title=\"Security\">\n            <p>The Processor maintains:</p>\n            <ul className=\"list-disc pl-6 space-y-2\">\n              <li>TLS 1.2+ encryption in transit.</li>\n              <li>AES-256 encryption at rest.</li>\n              <li>Per-client data isolation with row-level security.</li>\n              <li>Authenticated access controls on all patient data endpoints.</li>\n              <li>Spam and bot filtering on all form endpoints.</li>\n              <li>Automated daily backups retained for 7 days within ap-southeast-2.</li>\n              <li>Uptime monitoring.</li>\n            </ul>\n            <p>\n              S3 file objects are stored with private ACL and are never publicly accessible. Under\n              portal delivery, access is via a short-lived presigned URL (30 minutes) generated\n              only on an authenticated portal request. Under email delivery, the presigned link\n              included in the notification is valid for 7 days and does not require sign-in.\n            </p>\n          </Section>\n\n          <Section n={6} title=\"Subprocessors\">\n            <p>\n              We use a short list of Australian-hosted service providers to operate the portal.\n              Each is bound by contract to protect information and process it only on our\n              instructions.\n            </p>\n            <div className=\"overflow-x-auto\">\n              <table className=\"w-full text-[14px] border border-[#ddd6cc] rounded-[12px] overflow-hidden\">\n                <thead className=\"bg-[#faf7f4] text-[#6b665f]\">\n                  <tr>\n                    <th className=\"text-left px-4 py-2.5 border-b border-[#ddd6cc] font-medium\">\n                      Subprocessor\n                    </th>\n                    <th className=\"text-left px-4 py-2.5 border-b border-[#ddd6cc] font-medium\">\n                      Purpose\n                    </th>\n                  </tr>\n                </thead>\n                <tbody>\n                  <Row name=\"Supabase (AWS ap-southeast-2)\" purpose=\"Database — stores form submissions and patient data\" />\n                  <Row name=\"Amazon S3 (ap-southeast-2)\" purpose=\"File storage — patient-uploaded files (private ACL)\" />\n                  <Row name=\"Amazon SES (ap-southeast-2)\" purpose=\"Email delivery — notifications and confirmations\" />\n                  <Row name=\"Stripe Payments Australia\" purpose=\"Payment processing — billing data only; no patient data\" />\n                  <Row name=\"Cloudflare\" purpose=\"DNS / CDN — no patient data stored or processed\" last />\n                </tbody>\n              </table>\n            </div>\n            <p>\n              The Processor will give at least 14 days&rsquo; written notice of any proposed\n              addition or replacement of subprocessors that handle patient data.\n            </p>\n            <p>\n              The Processor imposes data-protection obligations on each subprocessor no less\n              protective than those in this DPA, and remains responsible to the Controller for any\n              subprocessor&rsquo;s handling of patient data as if it were the Processor&rsquo;s own.\n            </p>\n          </Section>\n\n          <Section n={7} title=\"Retention and deletion\">\n            <p>\n              Patient data is retained only as long as necessary to provide the services or as\n              required by law. Uploaded documents are automatically deleted from file storage 90\n              days after they are received by default.\n            </p>\n            <p>\n              On termination of the Agreement, the Processor will provide a full data export to the\n              Controller and securely delete all patient data from its systems within{' '}\n              <strong>30 days</strong>, subject to any applicable legal retention obligations and to\n              all outstanding fees being paid in full.\n            </p>\n            <p>\n              On the Controller&rsquo;s written request, the Processor will confirm in writing once\n              secure deletion has been completed.\n            </p>\n          </Section>\n\n          <Section n={8} title=\"Data breach notification\">\n            <p>\n              The Processor will notify the Controller within <strong>72 hours</strong> of becoming\n              aware of a suspected or confirmed data breach involving patient data, including a\n              description of the breach, categories of data affected, and steps taken. The\n              Controller, as data controller, is responsible for assessing obligations under the\n              Notifiable Data Breaches (NDB) scheme and making any required notifications to the\n              OAIC and affected individuals.\n            </p>\n          </Section>\n\n          <Section n={9} title=\"Data subject rights\">\n            <p>\n              Where a patient exercises rights under the Privacy Act 1988 (Cth) — including access,\n              correction, or complaint — the Controller is the primary contact. The Processor will\n              assist the Controller in fulfilling such requests within{' '}\n              <strong>7 business days</strong> of a written request.\n            </p>\n          </Section>\n\n          <Section n={10} title=\"Audit and assurance\">\n            <p>\n              The Controller may ask the Processor to demonstrate its compliance with this DPA on\n              reasonable written notice, no more than once in any 12-month period (or more often if\n              reasonably required by a regulator or following a data breach affecting the\n              Controller&rsquo;s data). The Processor will respond within a reasonable time to\n              reasonable written questions about its security and data-handling practices, and\n              provide the documentation it has available — such as its security overview and current\n              subprocessor list.\n            </p>\n            <p>\n              Any on-site or independent third-party audit is by mutual agreement and at the\n              Controller&rsquo;s cost, and must be carried out on reasonable notice, during business\n              hours, and in a way that does not disrupt the Processor&rsquo;s operations or\n              compromise the confidentiality or security of other clients&rsquo; data.\n            </p>\n          </Section>\n\n          <Section n={11} title=\"Contact\">\n            <div className=\"space-y-3\">\n              <p>\n                <strong>Processor privacy contact</strong>\n                <br />\n                BusyBee Labs Pty Ltd, trading as BusyBeeDoc — ABN 68 688 853 723\n                <br />\n                Email:{' '}\n                <a href=\"mailto:hello@busybeedoc.com\" className=\"text-[#1d1b18] underline\">\n                  hello@busybeedoc.com\n                </a>\n              </p>\n              <p>\n                <strong>Controller privacy contact</strong> — the privacy contact your practice\n                nominates in its account.\n              </p>\n              <p>\n                <strong>Regulator — OAIC:</strong>{' '}\n                <a\n                  href=\"https://www.oaic.gov.au\"\n                  className=\"text-[#1d1b18] underline\"\n                  target=\"_blank\"\n                  rel=\"noopener noreferrer\"\n                >\n                  www.oaic.gov.au\n                </a>{' '}\n                · 1300 363 992\n              </p>\n            </div>\n          </Section>\n        </div>\n\n        <div className=\"mt-16 pt-8 border-t border-[#ddd6cc]/60\">\n          <Link\n            href=\"/\"\n            className=\"inline-flex min-h-[32px] items-center text-[14px] text-[#6b665f] hover:text-[#1d1b18] transition-colors\"\n          >\n            ← Back to home\n          </Link>\n        </div>\n      </article>\n    </main>\n  );\n}\n\nfunction Section({\n  n,\n  title,\n  children,\n}: {\n  n: number;\n  title: string;\n  children: React.ReactNode;\n}) {\n  return (\n    <section>\n      <h2\n        className=\"text-[20px] font-medium text-[#1d1b18] mb-4\"\n        style={{ fontFamily: \"Satoshi, 'Messina Sans', sans-serif\" }}\n      >\n        {n}. {title}\n      </h2>\n      <div className=\"space-y-3\">{children}</div>\n    </section>\n  );\n}\n\nfunction Row({ name, purpose, last }: { name: string; purpose: string; last?: boolean }) {\n  const border = last ? '' : 'border-b border-[#ddd6cc]/60';\n  return (\n    <tr>\n      <td className={`px-4 py-2.5 font-medium text-[#1d1b18] ${border}`}>{name}</td>\n      <td className={`px-4 py-2.5 text-[#6b665f] ${border}`}>{purpose}</td>\n    </tr>\n  );\n}\n"},{"source":"apps/marketing-site-v2/app/privacy-policy/page.tsx","snapshot":"apps/marketing-site-v2/app/privacy-policy/page.tsx.txt","sha256":"fc3d199bdea719b5930fa703abe397b1feaacc4a397c13d61ec7ec6f13aa8164","bytes":18184,"content":"import type { Metadata } from 'next';\nimport Link from 'next/link';\nimport { LEGAL } from '@/lib/legal';\n\nexport const metadata: Metadata = {\n  title: 'Privacy Policy | BusyBeeDoc',\n  description:\n    'How BusyBee Labs Pty Ltd collects, uses, and protects your personal information in accordance with the Australian Privacy Act 1988.',\n  alternates: { canonical: '/privacy-policy' },\n  robots: { index: true, follow: true },\n};\n\nexport default function PrivacyPolicyPage() {\n  return (\n    <main className=\"min-h-screen bg-white pt-32 pb-20\">\n      <article className=\"max-w-3xl mx-auto px-6 md:px-12\">\n        <h1\n          className=\"text-[36px] md:text-[42px] font-medium text-[#1d1b18] leading-[1.12] tracking-[-1.2px] mb-4\"\n          style={{ fontFamily: \"Satoshi, 'Messina Sans', sans-serif\" }}\n        >\n          Privacy Policy\n        </h1>\n        <p className=\"text-[14px] text-[#6b665f] mb-12\">\n          Last updated: {LEGAL.privacyEffectiveDate} · Version {LEGAL.versions.privacy}\n        </p>\n\n        <div className=\"space-y-10 text-[15px] text-[#3a3632] leading-[1.75]\">\n          {/* 1. Introduction */}\n          <section>\n            <h2 className=\"text-[20px] font-medium text-[#1d1b18] mb-4\" style={{ fontFamily: \"Satoshi, 'Messina Sans', sans-serif\" }}>\n              1. Introduction\n            </h2>\n            <p>\n              BusyBee Labs Pty Ltd (ABN 68 688 853 723), trading as BusyBeeDoc, is committed to\n              protecting the privacy of your personal information. This policy explains how we\n              collect, use, store, and disclose your information in accordance with the Australian\n              Privacy Act 1988 (Cth) and the Australian Privacy Principles (APPs).\n            </p>\n            <p className=\"mt-3\">\n              BusyBeeDoc is a digital agency that builds websites and provides marketing services\n              for Australian medical practices. This policy covers information collected through\n              our website at busybeedoc.com and related services.\n            </p>\n          </section>\n\n          {/* 2. What information we collect */}\n          <section>\n            <h2 className=\"text-[20px] font-medium text-[#1d1b18] mb-4\" style={{ fontFamily: \"Satoshi, 'Messina Sans', sans-serif\" }}>\n              2. What information we collect\n            </h2>\n            <p className=\"font-medium text-[#1d1b18]\">Personal information:</p>\n            <ul className=\"list-disc pl-6 mt-2 space-y-1\">\n              <li>Name</li>\n              <li>Email address</li>\n              <li>Phone number</li>\n              <li>Practice name and suburb</li>\n              <li>Medical specialty</li>\n              <li>Website URL (if provided)</li>\n            </ul>\n            <p className=\"font-medium text-[#1d1b18] mt-4\">Technical information:</p>\n            <ul className=\"list-disc pl-6 mt-2 space-y-1\">\n              <li>IP address</li>\n              <li>Browser type and version</li>\n              <li>Device information and screen resolution</li>\n              <li>Timezone and language settings</li>\n              <li>Pages visited and referral source</li>\n            </ul>\n            <p className=\"mt-4\">\n              We do not collect health information or sensitive information through this website.\n              Our forms are designed to collect business contact details for the purpose of\n              providing website and marketing services to medical practices.\n            </p>\n          </section>\n\n          {/* 3. How we collect information */}\n          <section>\n            <h2 className=\"text-[20px] font-medium text-[#1d1b18] mb-4\" style={{ fontFamily: \"Satoshi, 'Messina Sans', sans-serif\" }}>\n              3. How we collect information\n            </h2>\n            <p>We collect information through the following methods:</p>\n            <ul className=\"list-disc pl-6 mt-2 space-y-1\">\n              <li>Website forms (build request, contact form, custom quote form)</li>\n              <li>Email correspondence</li>\n              <li>Phone and video calls</li>\n              <li>Discovery meetings</li>\n            </ul>\n            <p className=\"mt-3\">\n              When you submit a form on our website, the information you provide is transmitted\n              securely and stored in Australia.\n            </p>\n          </section>\n\n          {/* 4. Why we collect information */}\n          <section>\n            <h2 className=\"text-[20px] font-medium text-[#1d1b18] mb-4\" style={{ fontFamily: \"Satoshi, 'Messina Sans', sans-serif\" }}>\n              4. Why we collect information\n            </h2>\n            <ul className=\"list-disc pl-6 space-y-1\">\n              <li>To respond to your enquiry or quote request</li>\n              <li>To build and deliver your website and marketing services</li>\n              <li>To manage your account and ongoing service delivery</li>\n              <li>To send you service-related communications</li>\n              <li>To process payments and billing</li>\n              <li>To comply with legal and professional obligations</li>\n              <li>To improve our website and services</li>\n            </ul>\n          </section>\n\n          {/* 5. How we use your information */}\n          <section>\n            <h2 className=\"text-[20px] font-medium text-[#1d1b18] mb-4\" style={{ fontFamily: \"Satoshi, 'Messina Sans', sans-serif\" }}>\n              5. How we use your information\n            </h2>\n            <ul className=\"list-disc pl-6 space-y-1\">\n              <li>Service delivery: building your website and running your marketing</li>\n              <li>Communication: responding to enquiries, project updates, support</li>\n              <li>Billing: processing payments via Stripe</li>\n              <li>Analytics: understanding how visitors use our website to improve it</li>\n              <li>Security: preventing spam and protecting against abuse</li>\n            </ul>\n            <p className=\"mt-3\">\n              We will not use your information for marketing purposes without your explicit\n              consent.\n            </p>\n          </section>\n\n          {/* 6. Who we share information with */}\n          <section>\n            <h2 className=\"text-[20px] font-medium text-[#1d1b18] mb-4\" style={{ fontFamily: \"Satoshi, 'Messina Sans', sans-serif\" }}>\n              6. Who we share information with\n            </h2>\n            <p>\n              We will not share your personal information with third parties except as necessary\n              to provide our services or as required by law. This includes:\n            </p>\n            <ul className=\"list-disc pl-6 mt-2 space-y-1\">\n              <li>Payment processors (Stripe) for billing</li>\n              <li>Cloud infrastructure providers (see section 10) for service delivery</li>\n              <li>Legal authorities where required by law</li>\n            </ul>\n            <p className=\"mt-3\">\n              We do not sell, rent, or trade your personal information to any third party.\n            </p>\n          </section>\n\n          {/* 7. How we store and protect your information */}\n          <section>\n            <h2 className=\"text-[20px] font-medium text-[#1d1b18] mb-4\" style={{ fontFamily: \"Satoshi, 'Messina Sans', sans-serif\" }}>\n              7. How we store and protect your information\n            </h2>\n            <p>\n              Your information is stored securely on cloud infrastructure located in Sydney,\n              Australia (ap-southeast-2 region). We use:\n            </p>\n            <ul className=\"list-disc pl-6 mt-2 space-y-1\">\n              <li><strong>Database:</strong> Supabase (PostgreSQL database hosted in Sydney, Australia)</li>\n              <li><strong>Website hosting:</strong> Vercel (Sydney region, syd1)</li>\n            </ul>\n            <p className=\"mt-3\">\n              All data is encrypted in transit (TLS/SSL). Access is restricted to authorised\n              staff only. Your information is not transferred or stored outside Australia, except\n              where a third-party service processes data globally (see section 10).\n            </p>\n          </section>\n\n          {/* 8. Data retention */}\n          <section>\n            <h2 className=\"text-[20px] font-medium text-[#1d1b18] mb-4\" style={{ fontFamily: \"Satoshi, 'Messina Sans', sans-serif\" }}>\n              8. Data retention\n            </h2>\n            <p>\n              We retain your personal information for as long as necessary to provide our\n              services and comply with our legal obligations. If you cancel your service, we\n              retain your information for a reasonable period to facilitate any follow-up\n              enquiries, after which it is securely deleted.\n            </p>\n            <p className=\"mt-3\">\n              Form submissions from prospective clients who do not proceed with a service are\n              retained for 12 months, then deleted.\n            </p>\n          </section>\n\n          {/* 9. Your rights */}\n          <section>\n            <h2 className=\"text-[20px] font-medium text-[#1d1b18] mb-4\" style={{ fontFamily: \"Satoshi, 'Messina Sans', sans-serif\" }}>\n              9. Your rights\n            </h2>\n            <p>Under the Australian Privacy Principles, you have the right to:</p>\n            <ul className=\"list-disc pl-6 mt-2 space-y-1\">\n              <li><strong>Access:</strong> Request access to the personal information we hold about you</li>\n              <li><strong>Correction:</strong> Request correction of inaccurate or incomplete information</li>\n              <li><strong>Complaint:</strong> Make a complaint about how we handle your information</li>\n            </ul>\n            <p className=\"mt-3\">\n              To exercise any of these rights, contact us at{' '}\n              <a href=\"mailto:hello@busybeedoc.com\" className=\"text-[#1d1b18] underline\">\n                hello@busybeedoc.com\n              </a>.\n            </p>\n            <p className=\"mt-3\">\n              If you are not satisfied with our response, you may lodge a complaint with the\n              Office of the Australian Information Commissioner (OAIC) at{' '}\n              <a\n                href=\"https://www.oaic.gov.au\"\n                target=\"_blank\"\n                rel=\"noopener noreferrer\"\n                className=\"text-[#1d1b18] underline\"\n              >\n                www.oaic.gov.au\n              </a>{' '}\n              or by calling 1300 363 992.\n            </p>\n          </section>\n\n          {/* 10. Third-party services */}\n          <section>\n            <h2 className=\"text-[20px] font-medium text-[#1d1b18] mb-4\" style={{ fontFamily: \"Satoshi, 'Messina Sans', sans-serif\" }}>\n              10. Third-party services\n            </h2>\n            <p>We use the following third-party services to operate our website:</p>\n            <div className=\"mt-4 overflow-x-auto\">\n              <table className=\"w-full text-[14px]\">\n                <thead>\n                  <tr className=\"border-b border-[#ddd6cc]\">\n                    <th className=\"text-left py-2 pr-4 font-medium text-[#1d1b18]\">Service</th>\n                    <th className=\"text-left py-2 pr-4 font-medium text-[#1d1b18]\">Purpose</th>\n                    <th className=\"text-left py-2 font-medium text-[#1d1b18]\">Data Location</th>\n                  </tr>\n                </thead>\n                <tbody className=\"text-[#3a3632]\">\n                  <tr className=\"border-b border-[#ddd6cc]/60\">\n                    <td className=\"py-2 pr-4\">Supabase</td>\n                    <td className=\"py-2 pr-4\">Secure database for form submissions</td>\n                    <td className=\"py-2\">Sydney, Australia</td>\n                  </tr>\n                  <tr className=\"border-b border-[#ddd6cc]/60\">\n                    <td className=\"py-2 pr-4\">Vercel</td>\n                    <td className=\"py-2 pr-4\">Website hosting and delivery</td>\n                    <td className=\"py-2\">Sydney, Australia (syd1)</td>\n                  </tr>\n                  <tr className=\"border-b border-[#ddd6cc]/60\">\n                    <td className=\"py-2 pr-4\">Stripe</td>\n                    <td className=\"py-2 pr-4\">Payment processing</td>\n                    <td className=\"py-2\">Global (PCI-DSS compliant)</td>\n                  </tr>\n                  <tr className=\"border-b border-[#ddd6cc]/60\">\n                    <td className=\"py-2 pr-4\">Google reCAPTCHA</td>\n                    <td className=\"py-2 pr-4\">Spam prevention on web forms</td>\n                    <td className=\"py-2\">Google servers (technical data only)</td>\n                  </tr>\n                  <tr className=\"border-b border-[#ddd6cc]/60\">\n                    <td className=\"py-2 pr-4\">Google Analytics (GA4)</td>\n                    <td className=\"py-2 pr-4\">Website usage analytics</td>\n                    <td className=\"py-2\">Google servers</td>\n                  </tr>\n                  <tr className=\"border-b border-[#ddd6cc]/60\">\n                    <td className=\"py-2 pr-4\">Amazon SES</td>\n                    <td className=\"py-2 pr-4\">Transactional email delivery</td>\n                    <td className=\"py-2\">Sydney, Australia (ap-southeast-2)</td>\n                  </tr>\n                </tbody>\n              </table>\n            </div>\n            <p className=\"mt-4\">\n              These providers are required to handle your information securely and in compliance\n              with applicable privacy laws. Google reCAPTCHA may collect certain technical data\n              (such as your IP address) in accordance with{' '}\n              <a\n                href=\"https://policies.google.com/privacy\"\n                target=\"_blank\"\n                rel=\"noopener noreferrer\"\n                className=\"text-[#1d1b18] underline\"\n              >\n                Google&apos;s Privacy Policy\n              </a>.\n            </p>\n\n            <p className=\"font-medium text-[#1d1b18] mt-6\">Overseas disclosure (Australian Privacy Principle 8)</p>\n            <p className=\"mt-2\">\n              We store your personal information in Australia. Our database (Supabase), website\n              hosting (Vercel), and transactional email (Amazon SES) all operate in the Sydney\n              (ap-southeast-2) region.\n            </p>\n            <p className=\"mt-3\">\n              Some of the third-party services above may, however, process or store limited\n              information on servers located outside Australia — most likely in the United States.\n              This applies to Stripe (payment processing), Google reCAPTCHA (spam prevention), and\n              Google Analytics (website usage analytics). Before disclosing personal information to\n              an overseas recipient, we take reasonable steps to ensure the recipient handles it in\n              a way consistent with the Australian Privacy Principles. By submitting a form or using\n              our website, you consent to your information being disclosed to these overseas\n              recipients for the purposes described above.\n            </p>\n          </section>\n\n          {/* 11. Cookies and analytics */}\n          <section>\n            <h2 className=\"text-[20px] font-medium text-[#1d1b18] mb-4\" style={{ fontFamily: \"Satoshi, 'Messina Sans', sans-serif\" }}>\n              11. Cookies and analytics\n            </h2>\n            <p>\n              Our website uses Google Analytics (GA4) to understand how visitors use our site.\n              This involves the use of cookies — small text files stored on your device. GA4\n              collects anonymised data about page views, session duration, and traffic sources.\n            </p>\n            <p className=\"mt-3\">\n              You can control cookies through your browser settings. Disabling cookies may affect\n              your experience on our website.\n            </p>\n            <p className=\"mt-3\">\n              Our &ldquo;Find your fit&rdquo; questionnaire also records anonymous product\n              analytics: the answers selected, which screen was reached, and the resulting\n              recommendation, against a random id generated for that session. This is not linked\n              to your name, email or any other identifying detail unless you choose to send your\n              results to us, and is used only to understand which questions and recommendations\n              are useful.\n            </p>\n          </section>\n\n          {/* 12. Changes to this policy */}\n          <section>\n            <h2 className=\"text-[20px] font-medium text-[#1d1b18] mb-4\" style={{ fontFamily: \"Satoshi, 'Messina Sans', sans-serif\" }}>\n              12. Changes to this policy\n            </h2>\n            <p>\n              We may update this policy from time to time to reflect changes in our practices or\n              legal requirements. The updated policy will be published on this page. We encourage\n              you to review this policy periodically.\n            </p>\n          </section>\n\n          {/* 13. Contact us */}\n          <section>\n            <h2 className=\"text-[20px] font-medium text-[#1d1b18] mb-4\" style={{ fontFamily: \"Satoshi, 'Messina Sans', sans-serif\" }}>\n              13. Contact us\n            </h2>\n            <p>\n              If you have any questions about this privacy policy or how we handle your\n              information, please contact us:\n            </p>\n            <div className=\"mt-4 space-y-1\">\n              <p className=\"font-medium text-[#1d1b18]\">BusyBee Labs Pty Ltd</p>\n              <p>ABN 68 688 853 723</p>\n              <p>\n                Email:{' '}\n                <a href=\"mailto:hello@busybeedoc.com\" className=\"text-[#1d1b18] underline\">\n                  hello@busybeedoc.com\n                </a>\n              </p>\n            </div>\n          </section>\n        </div>\n\n        <div className=\"mt-16 pt-8 border-t border-[#ddd6cc]/60\">\n          <Link\n            href=\"/\"\n            className=\"inline-flex min-h-[32px] items-center text-[14px] text-[#6b665f] hover:text-[#1d1b18] transition-colors\"\n          >\n            ← Back to home\n          </Link>\n        </div>\n      </article>\n    </main>\n  );\n}\n"},{"source":"apps/portal/src/app/(marketing)/terms/page.tsx","snapshot":"apps/portal/src/app/(marketing)/terms/page.tsx.txt","sha256":"6e1220908da4f04aa6ee19d0f9d78460182b4ed89e44ee2f724fc7dfbf2f6c50","bytes":12704,"content":"import type { Metadata } from 'next';\n\nexport const metadata: Metadata = {\n  title: 'Terms of Use',\n  description:\n    'Terms and conditions governing the use of the BusyBeeDoc practice portal by authorised clinic staff.',\n};\n\n// Update whenever these terms materially change.\nconst EFFECTIVE_DATE = '24 April 2026';\n\nexport default function TermsPage() {\n  return (\n    <div className=\"prose-content\">\n      <p className=\"text-[12px] font-semibold uppercase tracking-[0.14em] text-[#8a6d16] mb-3\">\n        Legal\n      </p>\n      <h1 className=\"text-[34px] md:text-[40px] font-semibold tracking-tight text-[#101828] leading-[1.1] mb-3\">\n        Terms of Use\n      </h1>\n      <p className=\"text-[14px] text-[#5b6270] mb-10\">Effective {EFFECTIVE_DATE}</p>\n\n      <section className=\"space-y-5 text-[15.5px] leading-[1.75] text-[#101828]\">\n        <p>\n          These terms apply to your use of the BusyBeeDoc practice portal at\n          portal.busybeedoc.com (the &ldquo;Portal&rdquo;), which is operated by BusyBee Labs\n          Pty Ltd trading as BusyBeeDoc (&ldquo;we&rdquo;, &ldquo;us&rdquo;). By signing in to\n          the Portal you agree to these terms. If you do not agree, please do not use the\n          Portal.\n        </p>\n      </section>\n\n      <Section title=\"1. Who can use the Portal\">\n        <p>\n          The Portal is provided to Australian medical practices that have an active service\n          agreement with BusyBeeDoc. Only authorised staff of those practices may use the\n          Portal. Each sign-in account is for the named individual only &mdash; accounts must\n          not be shared or used by anyone other than the person they were issued to.\n        </p>\n        <p>\n          The practice is responsible for making sure that only appropriate staff members have\n          access, and for removing access promptly when a staff member leaves. You can ask us\n          to deactivate an account at any time by emailing hello@busybeedoc.com.\n        </p>\n      </Section>\n\n      <Section title=\"2. Confidentiality and patient information\">\n        <p>\n          The Portal handles personal information and health information about patients.\n          Everyone using the Portal must treat this information as strictly confidential, and\n          must only view, download or share it where there is a legitimate clinical or\n          administrative reason to do so.\n        </p>\n        <p>You agree that you will:</p>\n        <ul className=\"list-disc pl-6 space-y-2 marker:text-[#C9A227]\">\n          <li>\n            Keep your password private and not let anyone else sign in using your account.\n          </li>\n          <li>\n            Sign in only on devices that are kept reasonably secure and lock when\n            unattended.\n          </li>\n          <li>\n            Not screenshot, forward or download patient information except where it is needed\n            for patient care or required by law.\n          </li>\n          <li>\n            Report any suspected unauthorised access to your account to us immediately at\n            hello@busybeedoc.com.\n          </li>\n        </ul>\n      </Section>\n\n      <Section title=\"3. Acceptable use\">\n        <p>You must not:</p>\n        <ul className=\"list-disc pl-6 space-y-2 marker:text-[#C9A227]\">\n          <li>\n            Upload or store content that is unlawful, misleading, defamatory, or infringes\n            another person&rsquo;s rights.\n          </li>\n          <li>\n            Upload files that contain viruses, malware or other harmful code.\n          </li>\n          <li>\n            Attempt to access data belonging to another practice, or attempt to bypass the\n            security or access controls of the Portal.\n          </li>\n          <li>\n            Use the Portal to send unsolicited marketing or any communication that breaches\n            the Spam Act 2003 (Cth).\n          </li>\n          <li>\n            Use the Portal in any way that would breach the Privacy Act 1988, the Australian\n            Privacy Principles, or other Australian laws that apply to your practice.\n          </li>\n        </ul>\n      </Section>\n\n      <Section title=\"4. Your content and compliance obligations\">\n        <p>\n          The Portal is a tool for receiving and managing patient enquiries, referrals and\n          documents. The content you upload to, or send to patients through, the Portal is{' '}\n          <strong>your content</strong>, and your practice remains responsible for it.\n          (Website copy we produce for you is covered separately by our service agreement,\n          which reflects that we may be a co-advertiser of it under the National Law.)\n        </p>\n        <p>In particular, you are responsible for making sure that:</p>\n        <ul className=\"list-disc pl-6 space-y-2 marker:text-[#C9A227]\">\n          <li>\n            Any information you publish or send complies with the Australian Health\n            Practitioner Regulation Agency (AHPRA) and Medical Board of Australia advertising\n            guidelines, including rules against testimonials about clinical care, misleading\n            claims and creating unreasonable expectations.\n          </li>\n          <li>\n            You hold the necessary consents from patients before uploading or storing their\n            information in the Portal.\n          </li>\n          <li>\n            You meet your professional obligations to keep and protect medical records under\n            the laws of your state or territory.\n          </li>\n        </ul>\n        <p>\n          We may remove content that we reasonably believe breaches these terms or applicable\n          law, and we will tell you if we do so.\n        </p>\n      </Section>\n\n      <Section title=\"5. Availability and changes\">\n        <p>\n          We work to keep the Portal available at all times, but we do not guarantee\n          uninterrupted access. The Portal may be temporarily unavailable for maintenance,\n          upgrades, or reasons outside our control. We may also change or improve features\n          from time to time.\n        </p>\n      </Section>\n\n      <Section title=\"6. Fees\">\n        <p>\n          Use of the Portal is covered by the service agreement between your practice and\n          BusyBeeDoc. If that agreement ends, access to the Portal may be suspended or\n          terminated in line with that agreement.\n        </p>\n      </Section>\n\n      <Section title=\"7. Limitation of liability\">\n        <p>\n          The Portal is provided to support your practice&rsquo;s operations. It is not a\n          clinical decision-making system and must not be relied on as a substitute for\n          professional judgement, direct communication with patients, or a practice\n          management system of record.\n        </p>\n        <p>\n          To the maximum extent permitted by law, and subject to any rights you have under the\n          Australian Consumer Law that cannot be excluded:\n        </p>\n        <ul className=\"list-disc pl-6 space-y-2 marker:text-[#C9A227]\">\n          <li>\n            We are not liable for any indirect or consequential loss arising from use of the\n            Portal.\n          </li>\n          <li>\n            Our total aggregate liability to you for any claim relating to the Portal &mdash;\n            whether in contract, tort (including negligence), statute, or otherwise &mdash;\n            is limited to the total fees paid by your practice to us in the three (3) months\n            immediately before the event giving rise to the claim.\n          </li>\n          <li>\n            Nothing in these terms limits any liability that cannot lawfully be limited,\n            including consumer guarantees under the Australian Consumer Law (Schedule 2,{' '}\n            <em>Competition and Consumer Act 2010</em> (Cth)).\n          </li>\n        </ul>\n      </Section>\n\n      <Section title=\"8. Confidentiality\">\n        <p>\n          Each party will keep confidential all proprietary, commercial, and sensitive\n          information disclosed by the other party in connection with the service agreement,\n          and will not disclose it to any third party without prior written consent, except\n          where required by law.\n        </p>\n        <p>\n          We will not store, use, or disclose any patient-identifiable information for our\n          own purposes. All patient data is handled in accordance with our{' '}\n          <a href=\"/dpa\" className=\"text-[#8a6d16] hover:underline\">\n            Data Processing Agreement\n          </a>{' '}\n          and the <em>Privacy Act 1988</em> (Cth).\n        </p>\n        <p>\n          The obligation of confidentiality survives termination of access to the Portal for\n          a period of two (2) years.\n        </p>\n      </Section>\n\n      <Section title=\"9. Force majeure\">\n        <p>\n          Neither party will be liable for any delay or failure to perform its obligations\n          to the extent the delay or failure is caused by an event beyond that party&rsquo;s\n          reasonable control. Events that qualify include, without limitation: acts of God;\n          natural disasters; pandemic or public health emergency; war or terrorism;\n          cyber-attack or large-scale infrastructure failure; prolonged third-party platform\n          outage (including AWS, Google, or Cloudflare); or changes in law or government\n          regulation that directly prevent performance.\n        </p>\n        <p>\n          The affected party must notify the other in writing as soon as practicable and\n          take reasonable steps to minimise the impact. If a force-majeure event continues\n          for more than 30 days, either party may end the service agreement with 7\n          days&rsquo; written notice without liability to the other (except for fees already\n          due and payable).\n        </p>\n      </Section>\n\n      <Section title=\"10. Dispute resolution\">\n        <p>\n          If a dispute arises in connection with your use of the Portal or the underlying\n          service agreement, the parties must first attempt to resolve it through good-faith\n          negotiation. Either party may start the process by giving written notice of the\n          dispute.\n        </p>\n        <p>\n          If the dispute is not resolved within 14 days of that notice, either party may\n          refer it to mediation. The mediator will be agreed between the parties or,\n          failing agreement within 7 days, appointed by the Law Institute of Victoria.\n          Mediation costs are shared equally unless the mediator determines otherwise.\n        </p>\n        <p>\n          Nothing in this clause prevents either party from seeking urgent injunctive or\n          declaratory relief from a court where that is necessary to protect its rights.\n        </p>\n      </Section>\n\n      <Section title=\"11. Termination\">\n        <p>\n          Either party may end access to the Portal in line with the underlying service\n          agreement. We may also suspend or terminate access immediately if we reasonably\n          believe these terms have been seriously breached, if there is a security risk, or\n          if we are required to by law.\n        </p>\n        <p>\n          If access ends, we will give the practice a reasonable opportunity to export any\n          data it needs before the account is closed, in line with our data retention policy\n          and our{' '}\n          <a href=\"/dpa\" className=\"text-[#8a6d16] hover:underline\">\n            Data Processing Agreement\n          </a>.\n        </p>\n      </Section>\n\n      <Section title=\"12. Governing law\">\n        <p>\n          These terms are governed by the laws of Victoria, Australia. You agree to submit\n          to the non-exclusive jurisdiction of the courts of Victoria in relation to any\n          dispute.\n        </p>\n      </Section>\n\n      <Section title=\"13. Contact us\">\n        <p>\n          Questions about these terms can be directed to:\n          <br />\n          BusyBee Labs Pty Ltd, trading as BusyBeeDoc\n          <br />\n          Email:{' '}\n          <a\n            href=\"mailto:hello@busybeedoc.com\"\n            className=\"text-[#8a6d16] hover:underline\"\n          >\n            hello@busybeedoc.com\n          </a>\n        </p>\n      </Section>\n    </div>\n  );\n}\n\nfunction Section({ title, children }: { title: string; children: React.ReactNode }) {\n  return (\n    <section className=\"mt-10\">\n      <h2 className=\"text-[20px] md:text-[22px] font-semibold tracking-tight text-[#101828] mb-3\">\n        {title}\n      </h2>\n      <div className=\"space-y-4 text-[15.5px] leading-[1.75] text-[#101828]\">\n        {children}\n      </div>\n    </section>\n  );\n}\n"},{"source":"apps/portal/src/app/(marketing)/dpa/page.tsx","snapshot":"apps/portal/src/app/(marketing)/dpa/page.tsx.txt","sha256":"aff92addcfd6956d506ca5814bee0536a3fb4c577d8c3b9ebd20378e097bfe51","bytes":15939,"content":"import type { Metadata } from 'next';\n\nexport const metadata: Metadata = {\n  title: 'Data Processing Agreement',\n  description:\n    'The Data Processing Agreement that governs how BusyBeeDoc handles patient and personal information on behalf of Australian medical practices that use the portal.',\n};\n\n// Public, plain-English mirror of Schedule 1 (DPA) of the signed BusyBeeDoc\n// Master Services Agreement, which customers accept as click-wrap at checkout.\n// The canonical text lives in apps/marketing-site-v2/docs/legal/ and this page\n// is the portal's public copy of it.\n//\n// This must stay in step with the DPA on busybeedoc.com (apps/marketing-site-v2\n// /app/dpa/page.tsx) — same clauses, same effective date — and with the\n// canonical markdown at\n// apps/marketing-site-v2/docs/legal/data-processing-agreement.md. When\n// Schedule 1 changes, update all three together.\n//\n// The subprocessor flow-down, deletion-certification and audit clauses below\n// were added at v1.1, along with the subprocessor list itself, which earlier\n// versions had never disclosed.\n//\n// Keep in step with LEGAL.dpaEffectiveDate / LEGAL.versions.dpa in\n// busybeedoc/apps/marketing-site-v2/lib/legal.ts — this page and the marketing\n// one are the same document and must not show different dates. Moved from\n// 11 June 2026 at v1.2, which narrowed the file-delivery wording.\nconst EFFECTIVE_DATE = '30 July 2026';\nconst DPA_VERSION = '1.2';\n\nexport default function DataProcessingAgreementPage() {\n  return (\n    <div className=\"prose-content\">\n      <p className=\"text-[12px] font-semibold uppercase tracking-[0.14em] text-[#8a6d16] mb-3\">\n        Legal\n      </p>\n      <h1 className=\"text-[34px] md:text-[40px] font-semibold tracking-tight text-[#101828] leading-[1.1] mb-3\">\n        Data Processing Agreement\n      </h1>\n      <p className=\"text-[14px] text-[#5b6270] mb-10\">\n        Effective {EFFECTIVE_DATE} &middot; Version {DPA_VERSION}\n      </p>\n\n      <section className=\"space-y-5 text-[15.5px] leading-[1.75] text-[#101828]\">\n        <p>\n          This Data Processing Agreement (&ldquo;DPA&rdquo;) describes how BusyBee Labs Pty Ltd\n          (trading as BusyBeeDoc, &ldquo;Processor&rdquo;) handles patient and personal\n          information on behalf of the Australian medical practice that has engaged us\n          (&ldquo;Controller&rdquo;). It forms part of the service agreement between BusyBeeDoc\n          and each practice. In the event of any inconsistency between this DPA and the main\n          service agreement, this DPA prevails with respect to data processing matters.\n        </p>\n        <p>\n          This DPA is governed by the laws of Victoria, Australia, and should be read\n          alongside our{' '}\n          <a href=\"/privacy\" className=\"text-[#8a6d16] hover:underline\">Privacy Policy</a>{' '}\n          and <a href=\"/terms\" className=\"text-[#8a6d16] hover:underline\">Terms of Use</a>.\n        </p>\n      </section>\n\n      <Section title=\"1. Roles\">\n        <p>\n          The Controller determines the purpose and means of processing patient data. The\n          Processor handles patient data only on the Controller&rsquo;s behalf and under its\n          documented instructions. Both parties comply with the <em>Privacy Act 1988</em>{' '}\n          (Cth) and the Australian Privacy Principles (APPs). The Controller, as a health\n          service provider, acknowledges that Health Information attracts additional\n          protections under applicable Australian privacy legislation.\n        </p>\n      </Section>\n\n      <Section title=\"2. What we process and why\">\n        <p>\n          The Processor handles patient data solely to:\n        </p>\n        <ul className=\"list-disc pl-6 space-y-2 marker:text-[#C9A227]\">\n          <li>Operate patient intake and referral forms on the Controller&rsquo;s website.</li>\n          <li>Store form submissions for retrieval by the Controller through the portal.</li>\n          <li>Send administrative email notifications to the practice.</li>\n          <li>Provide technical maintenance and security monitoring.</li>\n        </ul>\n        <p>\n          Patient data is <strong>not</strong> used for marketing, AI training, profiling, or\n          disclosed to third parties without the Controller&rsquo;s written consent.\n        </p>\n      </Section>\n\n      <Section title=\"3. Data storage and residency\">\n        <p>\n          All patient data is stored and processed exclusively in Australia on AWS Asia\n          Pacific (Sydney) infrastructure (ap-southeast-2). Data is not transferred outside\n          Australia without the Controller&rsquo;s prior written consent, consistent with\n          APP 8. Infrastructure:\n        </p>\n        <ul className=\"list-disc pl-6 space-y-2 marker:text-[#C9A227]\">\n          <li>\n            <strong>Database:</strong> Supabase on AWS ap-southeast-2 — per-client schema\n            isolation and row-level security (RLS).\n          </li>\n          <li>\n            <strong>File storage:</strong> Amazon S3 ap-southeast-2 — per-client key prefix\n            isolation, private access only.\n          </li>\n          <li>\n            <strong>Email delivery:</strong> Amazon SES ap-southeast-2.\n          </li>\n        </ul>\n      </Section>\n\n      <Section title=\"4. Email notifications and reasonable security measures\">\n        <p>\n          Email is standard and accepted practice for administrative notifications in\n          Australian medical settings, consistent with OAIC guidance and RACGP 5th edition\n          standards. The Processor applies the following reasonable security measures to all\n          emails: TLS 1.2+ encryption in transit via Amazon SES; SPF, DKIM, and DMARC sender\n          authentication; and Australian mail infrastructure throughout.\n        </p>\n        <p>\n          Standard notification emails to the practice may include basic patient contact\n          details sufficient to action an enquiry (name, date of birth, phone, reason for\n          contact, medication name for script repeats, referral reason). Uploaded files are{' '}\n          <strong>never</strong> attached to an email, and full clinical records are never\n          reproduced in an email body.\n        </p>\n        <p>\n          How an uploaded document reaches the practice depends on the delivery mode\n          configured for that practice:\n        </p>\n        <ul className=\"list-disc pl-6 space-y-2 marker:text-[#C9A227]\">\n          <li>\n            <strong>Portal delivery</strong> &mdash; the notification contains a link to the\n            authenticated portal. The file is reachable only after sign-in, and every view\n            and download is logged.\n          </li>\n          <li>\n            <strong>Email delivery</strong> &mdash; the notification contains a time-limited\n            download link, currently valid for 7 days. Anyone with access to that email can\n            open the link without signing in. We provide this at the Controller&rsquo;s\n            direction; the Controller is responsible for its practice inbox access controls\n            and accepts the associated risk.\n          </li>\n        </ul>\n        <p>\n          Portal delivery is the more secure option and the one we recommend. A practice may\n          ask us to change its delivery mode at any time.\n        </p>\n        <p>\n          Patient confirmation emails may include information the patient themselves\n          submitted (their name, form type, summary of request), consistent with standard\n          Australian GP practice. The patient&rsquo;s act of submitting the form constitutes\n          implied consent to receive a confirmation email at the address provided.\n        </p>\n      </Section>\n\n      <Section title=\"5. Security\">\n        <p>The Processor maintains:</p>\n        <ul className=\"list-disc pl-6 space-y-2 marker:text-[#C9A227]\">\n          <li>TLS 1.2+ encryption in transit.</li>\n          <li>AES-256 encryption at rest.</li>\n          <li>Per-client data isolation with row-level security.</li>\n          <li>Authenticated access controls on all patient data endpoints.</li>\n          <li>Spam and bot filtering on all form endpoints.</li>\n          <li>Automated daily backups retained for 7 days within ap-southeast-2.</li>\n          <li>Uptime monitoring.</li>\n        </ul>\n        <p>\n          S3 file objects are stored with private ACL and are never publicly accessible.\n          Under portal delivery, access is via a short-lived presigned URL (30 minutes)\n          generated only on an authenticated portal request. Under email delivery, the\n          presigned link included in the notification is valid for 7 days and does not\n          require sign-in.\n        </p>\n      </Section>\n\n      <Section title=\"6. Subprocessors\">\n        <p>\n          We use a short list of Australian-hosted service providers to operate the portal.\n          Each is bound by contract to protect information and process it only on our\n          instructions.\n        </p>\n        <div className=\"overflow-x-auto\">\n          <table className=\"w-full text-[14px] border border-[#ddd6cc] rounded-[12px] overflow-hidden\">\n            <thead className=\"bg-[#FBF8F3] text-[#5b6270]\">\n              <tr>\n                <th className=\"text-left px-4 py-2.5 border-b border-[#ddd6cc] font-medium\">\n                  Subprocessor\n                </th>\n                <th className=\"text-left px-4 py-2.5 border-b border-[#ddd6cc] font-medium\">\n                  Purpose\n                </th>\n              </tr>\n            </thead>\n            <tbody>\n              <SubprocessorRow\n                name=\"Supabase (AWS ap-southeast-2)\"\n                purpose=\"Database — stores form submissions and patient data\"\n              />\n              <SubprocessorRow\n                name=\"Amazon S3 (ap-southeast-2)\"\n                purpose=\"File storage — patient-uploaded files (private ACL)\"\n              />\n              <SubprocessorRow\n                name=\"Amazon SES (ap-southeast-2)\"\n                purpose=\"Email delivery — notifications and confirmations\"\n              />\n              <SubprocessorRow\n                name=\"Stripe Payments Australia\"\n                purpose=\"Payment processing — billing data only; no patient data\"\n              />\n              <SubprocessorRow\n                name=\"Cloudflare\"\n                purpose=\"DNS / CDN — no patient data stored or processed\"\n                last\n              />\n            </tbody>\n          </table>\n        </div>\n        <p>\n          The Processor will provide at least 14 days&rsquo; written notice of any proposed\n          addition or replacement of subprocessors that handle patient data.\n        </p>\n        <p>\n          The Processor imposes data-protection obligations on each subprocessor no less\n          protective than those in this DPA, and remains responsible to the Controller for any\n          subprocessor&rsquo;s handling of patient data as if it were the Processor&rsquo;s own.\n        </p>\n      </Section>\n\n      <Section title=\"7. Retention and deletion\">\n        <p>\n          Patient data is retained only as long as necessary to provide the Services or as\n          required by law. Uploaded documents are automatically deleted from file storage\n          90 days after they are received by default.\n        </p>\n        <p>\n          On termination of the service agreement, the Processor will provide a full data\n          export to the Controller and securely delete all patient data from its systems\n          within <strong>30 days</strong>, subject to any applicable legal retention\n          obligations and to all outstanding fees being paid in full.\n        </p>\n        <p>\n          On the Controller&rsquo;s written request, the Processor will confirm in writing once\n          secure deletion has been completed.\n        </p>\n      </Section>\n\n      <Section title=\"8. Data breach notification\">\n        <p>\n          The Processor will notify the Controller within <strong>72 hours</strong> of\n          becoming aware of a suspected or confirmed data breach involving patient data,\n          including a description of the breach, categories of data affected, and steps\n          taken. The Controller, as data controller, is responsible for assessing\n          obligations under the Notifiable Data Breaches (NDB) scheme and making any\n          required notifications to the OAIC and affected individuals.\n        </p>\n      </Section>\n\n      <Section title=\"9. Data subject rights\">\n        <p>\n          Where a patient exercises rights under the <em>Privacy Act 1988</em> (Cth) —\n          including access, correction, or complaint — the Controller is the primary\n          contact. The Processor will assist the Controller in fulfilling such requests\n          within <strong>7 business days</strong> of a written request.\n        </p>\n      </Section>\n\n      <Section title=\"10. Audit and assurance\">\n        <p>\n          The Controller may ask the Processor to demonstrate its compliance with this DPA on\n          reasonable written notice, no more than once in any 12-month period (or more often if\n          reasonably required by a regulator or following a data breach affecting the\n          Controller&rsquo;s data). The Processor will respond within a reasonable time to\n          reasonable written questions about its security and data-handling practices, and provide\n          the documentation it has available — such as its security overview and current\n          subprocessor list.\n        </p>\n        <p>\n          Any on-site or independent third-party audit is by mutual agreement and at the\n          Controller&rsquo;s cost, and must be carried out on reasonable notice, during business\n          hours, and in a way that does not disrupt the Processor&rsquo;s operations or compromise\n          the confidentiality or security of other clients&rsquo; data.\n        </p>\n      </Section>\n\n      <Section title=\"11. Contact\">\n        <div className=\"space-y-3\">\n          <p>\n            <strong>Processor privacy contact</strong>\n            <br />\n            BusyBee Labs Pty Ltd, trading as BusyBeeDoc — ABN 68 688 853 723\n            <br />\n            Email:{' '}\n            <a\n              href=\"mailto:hello@busybeedoc.com\"\n              className=\"text-[#8a6d16] hover:underline\"\n            >\n              hello@busybeedoc.com\n            </a>\n          </p>\n          <p>\n            <strong>Controller privacy contact</strong> — the privacy contact your practice\n            has nominated in the service agreement.\n          </p>\n          <p>\n            <strong>Regulator — OAIC:</strong>{' '}\n            <a\n              href=\"https://www.oaic.gov.au\"\n              className=\"text-[#8a6d16] hover:underline\"\n              target=\"_blank\"\n              rel=\"noopener noreferrer\"\n            >\n              www.oaic.gov.au\n            </a>{' '}\n            · 1300 363 992\n          </p>\n        </div>\n      </Section>\n    </div>\n  );\n}\n\nfunction Section({ title, children }: { title: string; children: React.ReactNode }) {\n  return (\n    <section className=\"mt-10\">\n      <h2 className=\"text-[20px] md:text-[22px] font-semibold tracking-tight text-[#101828] mb-4\">\n        {title}\n      </h2>\n      <div className=\"space-y-5 text-[15.5px] leading-[1.75] text-[#101828]\">{children}</div>\n    </section>\n  );\n}\n\nfunction SubprocessorRow({\n  name,\n  purpose,\n  last,\n}: {\n  name: string;\n  purpose: string;\n  last?: boolean;\n}) {\n  return (\n    <tr>\n      <td\n        className={`px-4 py-2.5 font-medium text-[#101828] ${\n          last ? '' : 'border-b border-[#ddd6cc]/60'\n        }`}\n      >\n        {name}\n      </td>\n      <td\n        className={`px-4 py-2.5 text-[#5b6270] ${\n          last ? '' : 'border-b border-[#ddd6cc]/60'\n        }`}\n      >\n        {purpose}\n      </td>\n    </tr>\n  );\n}\n"},{"source":"apps/portal/src/app/(marketing)/privacy/page.tsx","snapshot":"apps/portal/src/app/(marketing)/privacy/page.tsx.txt","sha256":"9fe87a35dcb2e3fac14988fbb319cad30344d47bf51ede3d59577e35c4bf59ba","bytes":12429,"content":"import type { Metadata } from 'next';\n\nexport const metadata: Metadata = {\n  title: 'Privacy Policy',\n  description:\n    'How BusyBeeDoc collects, uses, stores and protects the personal and health information submitted through portal.busybeedoc.com.',\n};\n\n// Update whenever this policy materially changes.\n// 30 July 2026: corrected sections 3 and 4, which previously implied every\n// notification email links back to the portal. Practices on email delivery\n// mode (the default) get a direct time-limited file link instead — see the\n// DPA (/dpa) section 4 for the full explanation. Keep this in step with any\n// future change to /dpa's delivery-mode wording.\nconst EFFECTIVE_DATE = '30 July 2026';\n\nexport default function PrivacyPolicyPage() {\n  return (\n    <div className=\"prose-content\">\n      <p className=\"text-[12px] font-semibold uppercase tracking-[0.14em] text-[#8a6d16] mb-3\">\n        Legal\n      </p>\n      <h1 className=\"text-[34px] md:text-[40px] font-semibold tracking-tight text-[#101828] leading-[1.1] mb-3\">\n        Privacy Policy\n      </h1>\n      <p className=\"text-[14px] text-[#5b6270] mb-10\">Effective {EFFECTIVE_DATE}</p>\n\n      <section className=\"space-y-5 text-[15.5px] leading-[1.75] text-[#101828]\">\n        <p>\n          BusyBee Labs Pty Ltd (trading as BusyBeeDoc, &ldquo;we&rdquo;, &ldquo;us&rdquo;) operates\n          the practice portal at portal.busybeedoc.com. This policy explains what personal\n          information and health information we handle on behalf of the Australian medical\n          practices who use the portal, and how we protect it. We handle personal information\n          in line with the <em>Privacy Act 1988</em> (Cth) and the Australian Privacy Principles\n          (APPs).\n        </p>\n        <p>\n          This portal is used by clinic staff to receive patient enquiries, referrals and\n          uploaded documents submitted through their practice website. Patients do not log in\n          to the portal directly &mdash; their information reaches the portal through the forms\n          on their clinic&rsquo;s site.\n        </p>\n      </section>\n\n      <Section title=\"1. Who is responsible for your information\">\n        <p>\n          Each medical practice is the primary custodian of the patient information submitted\n          through its website. BusyBeeDoc provides the software and hosting, and acts as a\n          service provider to the practice. If you are a patient, questions about how your\n          health information is used clinically should be directed to your treating practice.\n          Questions about how the portal itself stores or secures information can be directed\n          to us at hello@busybeedoc.com.\n        </p>\n      </Section>\n\n      <Section title=\"2. What information we collect\">\n        <p>We collect and store the following categories of information:</p>\n        <ul className=\"list-disc pl-6 space-y-2 marker:text-[#C9A227]\">\n          <li>\n            <strong>Patient referral submissions</strong> &mdash; name, contact details,\n            referring GP, referral type, any notes entered into the form, and any document\n            uploaded (typically a referral PDF).\n          </li>\n          <li>\n            <strong>Appointment and contact enquiries</strong> &mdash; name, contact details,\n            preferred contact method and the message entered.\n          </li>\n          <li>\n            <strong>Uploaded documents</strong> &mdash; referral letters, imaging requests or\n            other PDFs attached by the patient or referrer.\n          </li>\n          <li>\n            <strong>Portal account details</strong> &mdash; email address, name, sign-in\n            records and actions taken inside the portal (for example, which submissions were\n            viewed or downloaded).\n          </li>\n          <li>\n            <strong>Technical information</strong> &mdash; IP address, browser user-agent and\n            timestamps, captured in a security audit log.\n          </li>\n        </ul>\n        <p>\n          Some of this information is <strong>health information</strong> and\n          <strong> sensitive information</strong> under the Privacy Act. We treat it with the\n          higher level of protection those categories require.\n        </p>\n      </Section>\n\n      <Section title=\"3. Why we collect it\">\n        <p>We only collect information for the following purposes:</p>\n        <ul className=\"list-disc pl-6 space-y-2 marker:text-[#C9A227]\">\n          <li>To deliver patient enquiries and referrals to the relevant practice.</li>\n          <li>\n            To let authorised practice staff view, download and manage those enquiries in a\n            secure portal.\n          </li>\n          <li>\n            To notify the practice by email that a new submission has arrived. Depending on\n            the practice&rsquo;s delivery setting, that email contains either a link to sign\n            in to the secure portal, or a time-limited link to download the file directly\n            (see section 4) &mdash; never the clinical content itself, and never an attached\n            file.\n          </li>\n          <li>\n            To send the patient a simple confirmation that their form was received (no\n            clinical detail is included).\n          </li>\n          <li>\n            To keep a security audit trail of access to patient information, so practices can\n            meet their record-keeping obligations.\n          </li>\n        </ul>\n      </Section>\n\n      <Section title=\"4. How we store and protect it\">\n        <p>\n          All patient information submitted through the portal is stored in Australia. The\n          database and file storage are hosted in Sydney (AWS ap-southeast-2 and Supabase\n          Australia). Specifically:\n        </p>\n        <ul className=\"list-disc pl-6 space-y-2 marker:text-[#C9A227]\">\n          <li>\n            Uploaded documents are stored in encrypted file storage (Amazon S3, Sydney region)\n            with public access blocked.\n          </li>\n          <li>\n            Form data is stored in a database (Supabase Postgres, Sydney region) where each\n            practice&rsquo;s records are isolated from every other practice.\n          </li>\n          <li>\n            Access is controlled by password-protected accounts, with multi-factor\n            authentication encouraged for clinic staff.\n          </li>\n          <li>\n            Every time a submission is viewed or a file is downloaded through the portal,\n            the action is written to a tamper-resistant audit log.\n          </li>\n        </ul>\n        <p>\n          Notification emails are sent via Amazon SES in Sydney and never carry an attached\n          document. How the file itself reaches the practice depends on the delivery mode\n          configured for that practice: under <strong>portal delivery</strong>, the email\n          links to the authenticated portal and the file is reachable only after sign-in and\n          logged on every view and download; under <strong>email delivery</strong>, the\n          email includes a time-limited download link (currently valid for 7 days) that does\n          not require sign-in. Portal delivery is the more secure option and the one we\n          recommend &mdash; a practice can ask us to change its delivery mode at any time.\n          Full detail is in our{' '}\n          <a href=\"/dpa\" className=\"text-[#8a6d16] hover:underline\">\n            Data Processing Agreement\n          </a>\n          .\n        </p>\n      </Section>\n\n      <Section title=\"5. How long we keep it\">\n        <p>\n          By default, uploaded documents are automatically deleted from file storage{' '}\n          <strong>90 days</strong> after they are received. Form submission records are\n          retained in the practice&rsquo;s portal account for as long as the practice is a\n          BusyBeeDoc client and needs them for clinical and administrative purposes, subject\n          to Australian medical record retention requirements.\n        </p>\n        <p>\n          When a practice ends its service agreement with BusyBeeDoc, we provide a full\n          export of the practice&rsquo;s form submissions and uploaded documents, then\n          securely delete all patient data from our systems within <strong>30 days</strong>\n          {' '}of termination (subject to any outstanding fees and to any legal retention\n          obligation the practice asks us to honour on their behalf).\n        </p>\n        <p>\n          A practice can also request earlier deletion of a specific submission at any time\n          by emailing hello@busybeedoc.com.\n        </p>\n      </Section>\n\n      <Section title=\"6. Who we share it with\">\n        <p>\n          We do <strong>not</strong> sell personal or health information. We do not disclose\n          it overseas. We share information only:\n        </p>\n        <ul className=\"list-disc pl-6 space-y-2 marker:text-[#C9A227]\">\n          <li>With the practice whose website the submission was made to.</li>\n          <li>\n            With a small number of Australian-hosted service providers we rely on to operate\n            the portal (database, file storage, email delivery). These providers are bound by\n            contract to protect the information and to process it only on our instructions.\n          </li>\n          <li>\n            Where we are required to by Australian law, court order, or to respond to a\n            serious threat to life or safety.\n          </li>\n        </ul>\n        <p>\n          All processing takes place within Australia (AWS ap-southeast-2). We do not disclose\n          personal information to overseas recipients under APP 8.\n        </p>\n      </Section>\n\n      <Section title=\"7. Your rights (APP 12 and APP 13)\">\n        <p>\n          Under the Australian Privacy Principles you have the right to ask for access to the\n          personal information we hold about you, and to ask us to correct it if it is\n          inaccurate, out of date, incomplete or misleading.\n        </p>\n        <p>\n          Patients should first contact the practice that holds their clinical record. Where\n          information sits only within the portal, you can contact us at\n          hello@busybeedoc.com and we will respond within 30 days. We may need to verify your\n          identity before releasing or correcting information.\n        </p>\n      </Section>\n\n      <Section title=\"8. Complaints\">\n        <p>\n          If you believe we have mishandled your personal information, please contact us first\n          at hello@busybeedoc.com. We will acknowledge your complaint within 5 business days\n          and aim to resolve it within 30 days.\n        </p>\n        <p>\n          If you are not satisfied with our response, you may lodge a complaint with the\n          Office of the Australian Information Commissioner (OAIC):\n        </p>\n        <ul className=\"list-disc pl-6 space-y-2 marker:text-[#C9A227]\">\n          <li>Website: oaic.gov.au</li>\n          <li>Phone: 1300 363 992</li>\n          <li>Post: GPO Box 5218, Sydney NSW 2001</li>\n        </ul>\n      </Section>\n\n      <Section title=\"9. Changes to this policy\">\n        <p>\n          We may update this policy from time to time. The effective date at the top of the\n          page will always reflect the most recent version. Material changes will be notified\n          to practice account holders by email.\n        </p>\n      </Section>\n\n      <Section title=\"10. Contact us\">\n        <p>\n          BusyBee Labs Pty Ltd, trading as BusyBeeDoc\n          <br />\n          ABN 68 688 853 723\n          <br />\n          Melbourne, Victoria, Australia\n          {/* REVIEW: add street address when the company has a registered office to publish. */}\n          <br />\n          Email:{' '}\n          <a\n            href=\"mailto:hello@busybeedoc.com\"\n            className=\"text-[#8a6d16] hover:underline\"\n          >\n            hello@busybeedoc.com\n          </a>\n        </p>\n      </Section>\n    </div>\n  );\n}\n\nfunction Section({ title, children }: { title: string; children: React.ReactNode }) {\n  return (\n    <section className=\"mt-10\">\n      <h2 className=\"text-[20px] md:text-[22px] font-semibold tracking-tight text-[#101828] mb-3\">\n        {title}\n      </h2>\n      <div className=\"space-y-4 text-[15.5px] leading-[1.75] text-[#101828]\">\n        {children}\n      </div>\n    </section>\n  );\n}\n"}]}