diff --git a/src/components/legal/LegalLayout.tsx b/src/components/legal/LegalLayout.tsx
new file mode 100644
index 0000000..1235cbf
--- /dev/null
+++ b/src/components/legal/LegalLayout.tsx
@@ -0,0 +1,169 @@
+import { ReactNode } from 'react';
+import { Printer } from 'lucide-react';
+import Navbar from '../landing/Navbar';
+import Footer from '../landing/Footer';
+
+// Shared chrome for the policy pages (/privacy, /terms, /security, /dpa).
+// One place for the measure, the type scale and the "last updated" stamp, so
+// the four documents stay visually identical and nobody has to remember the
+// classes. Prose styling is hand-rolled — @tailwindcss/typography isn't a
+// dependency here and these pages aren't worth adding one for.
+
+interface Props {
+ eyebrow: string;
+ title: string;
+ updated: string;
+ summary: string;
+ children: ReactNode;
+}
+
+export default function LegalLayout({ eyebrow, title, updated, summary, children }: Props) {
+ return (
+ <>
+
+
+
+
+
+
+
+ {eyebrow}
+
+
+ {/* Tracking tightens as the type grows — see the display rule in the
+ type scale; body copy below stays at normal tracking. */}
+
+ {title}
+
+
+
{summary}
+
+
+
+ Last updated
+
+
+
+
+
{children}
+
+
+
+
+
+
+ >
+ );
+}
+
+function formatDate(iso: string) {
+ return new Date(iso + 'T00:00:00').toLocaleDateString('en-US', {
+ year: 'numeric',
+ month: 'long',
+ day: 'numeric',
+ });
+}
+
+/** Section heading — gives each clause a stable anchor to link people to. */
+export function H2({ id, children }: { id: string; children: ReactNode }) {
+ return (
+
+ {children}
+
+ );
+}
+
+export function H3({ children }: { children: ReactNode }) {
+ return
{children}
;
+}
+
+export function P({ children }: { children: ReactNode }) {
+ return
{children}
;
+}
+
+export function UL({ children }: { children: ReactNode }) {
+ return
{children}
;
+}
+
+export function LI({ children }: { children: ReactNode }) {
+ return (
+
+ {children}
+
+ );
+}
+
+/** Pulled-out statement for the things a reviewer is actually scanning for. */
+export function Callout({ children }: { children: ReactNode }) {
+ return (
+
+ );
+}
+
+/**
+ * The contact block every policy page ends with. Shows the address in full
+ * rather than hiding it behind a button — a reviewer copying it into a vendor
+ * record needs to see it, and a mailto: that opens an empty tab helps nobody.
+ */
+export function ContactBlock({ email, subject }: { email: string; subject?: string }) {
+ const href = `mailto:${email}${subject ? `?subject=${encodeURIComponent(subject)}` : ''}`;
+ return (
+
+ A person reads this, not a ticket queue. We aim to reply within two business days.
+
+
+ );
+}
diff --git a/src/index.css b/src/index.css
index e6bb035..3b4dc5d 100644
--- a/src/index.css
+++ b/src/index.css
@@ -74,3 +74,20 @@ body {
::-webkit-scrollbar-track { background: #ece4c9; }
::-webkit-scrollbar-thumb { background: #c7bb91; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #157559; }
+
+/* ── Policy pages: printing / "Save as PDF" ──────── */
+/* Reviewers attach these to a vendor file, so the printed copy drops the site
+ chrome, prints black-on-white, and shows link targets inline. */
+@media print {
+ html { scroll-behavior: auto; }
+ body { background: #fff !important; }
+ .legal-prose, .legal-prose * { color: #000 !important; }
+ .legal-prose a[href^="http"]::after,
+ .legal-prose a[href^="/"]::after {
+ content: " (" attr(href) ")";
+ font-size: 0.85em;
+ color: #555 !important;
+ }
+ .legal-prose h2, .legal-prose h3 { break-after: avoid; }
+ .legal-prose table, .legal-prose li { break-inside: avoid; }
+}
diff --git a/src/pages/DataProcessing.tsx b/src/pages/DataProcessing.tsx
new file mode 100644
index 0000000..d80fc60
--- /dev/null
+++ b/src/pages/DataProcessing.tsx
@@ -0,0 +1,112 @@
+import LegalLayout, { H2, P, UL, LI, Callout, Table, ContactBlock } from '../components/legal/LegalLayout';
+import { POLICY_UPDATED, PRIVACY_CONTACT_EMAIL, LEGAL_ENTITY } from '../siteConfig';
+
+export default function DataProcessing() {
+ return (
+
+
+ When your organization uses ChefCode, you are the controller of the business data you put
+ in, and we are your processor. This page sets out how we act in that role. It is written to
+ stand on its own, and we will also sign your own DPA if your procurement process requires
+ one on your paper.
+
+
+
1. Scope and roles
+
+
You are the controller of the invoice, vendor, product and GL data you load into ChefCode, and of the team member records you create.
+
We are the processor of that data. We process it only to provide the service, and only on your documented instructions — your use of the product's features is that instruction.
+
We are a controller in our own right for a narrow set of account administration data: the email address used to sign in, and billing correspondence.
+
+
+
2. What is processed
+
+
+ ChefCode is designed so that no special-category data is involved. Supplier invoices are
+ commercial records. If your invoices routinely contain personal data beyond a delivery
+ address and a signatory name, tell us before you start — that is not the shape of data the
+ product expects.
+
+
+
3. Duration
+
+ We process your data for as long as your account is open. On closure, and on request, we
+ delete your organization's data within 30 days. Uploaded invoice images are not retained at
+ any point.
+
+
+
4. Sub-processors
+
+ These are every third party that processes data on our behalf. We will give notice before
+ adding a new one, and you may object.
+
+
+
+
5. Security measures
+
+ We maintain the technical and organisational measures described on the{' '}
+ Security Overview page.
+ In summary: TLS on every connection, encryption at rest, database-enforced row-level tenant
+ isolation, role-based access control, and no retention of uploaded documents. That page also
+ states plainly which controls are not yet implemented.
+
+
+
6. Confidentiality and personnel
+
+ Access to production data is limited to the people who need it to operate and support the
+ service, and they are bound by confidentiality obligations. ChefCode is operated by a small
+ team, so that set of people is correspondingly small.
+
+
+
7. Assistance to you
+
+
Data subject requests: you can access, correct, export and delete records directly in the product. Where you need our help to respond to a request, we will provide it.
+
Breach notification: we will notify you without undue delay, and within 72 hours of confirming a personal data breach affecting your data.
+
Impact assessments: we will provide the information you reasonably need for a DPIA or a vendor security review.
+
Audit: we will answer security questionnaires and make our documentation available. For an enterprise agreement we can discuss additional audit rights.
+
+
+
8. International transfers
+
+ Processing takes place in the United States. If you are transferring personal data from the
+ EEA, the UK or Switzerland, that transfer relies on the Standard Contractual Clauses, which
+ we will enter into with you on request.
+
+
+
9. Return and deletion
+
+ You can export your data yourself at any time, in CSV or PDF, without asking us. On
+ termination we delete your organization's data within 30 days of request. Backups taken
+ before deletion expire on our provider's normal backup cycle.
+
+
+
10. Requesting a signed DPA
+
+ If your procurement process needs a signed agreement — ours or yours — get in touch and we
+ will turn it around quickly. We would rather sign your paper than argue about whose template
+ to use.
+
+ ChefCode is invoice software for food service teams. You upload a supplier invoice, our
+ system reads it, assigns GL codes, and gives you back structured data you can review and
+ export. This page describes what happens to information along the way. It is written to be
+ read, not to be survived — if something here is unclear, ask us and we will fix the wording.
+
+
+
1. What we collect
+
+
Account information
+
+ When you create an account we store your email address and password (the password is hashed
+ by our authentication provider — we never see or store the plain text). When you or your
+ administrator completes your profile we also store your full name, your role (Owner,
+ Manager, Chef or Viewer), which organization you belong to, and which location you are
+ assigned to.
+
+
+
Organization information
+
+ The name and type of your organization (hotel, restaurant, university, hospital or other),
+ your plan, and your configured limits for locations and team members.
+
+
+
Business data you put into the product
+
+ This is the bulk of what we hold, and it is business data rather than personal data:
+
+
+
Invoice records — vendor name, invoice number, invoice date, total amount, delivery address, and status
+
Invoice line items — product description, product number, quantity, unit price, line total, and the assigned GL code
+
Your chart of accounts (GL codes), your product list, your vendor list, and your locations
+
Which user processed a given invoice, and when records were created and last changed
+
+
+
2. What we do not collect
+
+ We do not store your invoice images. The photo or PDF you upload is sent
+ for text extraction, the structured result is saved to your account, and the image itself is
+ never written to our database or file storage. There is no archive of invoice scans to
+ breach, subpoena or leak.
+
+
+
No student data. ChefCode processes supplier invoices. It has no access to student records, enrollment, meal-plan accounts or any other education record.
+
No payment card data. We do not collect or process card numbers. Billing is arranged directly with us.
+
No tracking or advertising cookies. We do not run analytics tags, advertising pixels or third-party trackers on the product. Your browser stores a session token so you stay signed in, and a few small preferences.
+
No selling of data, ever. We do not sell, rent or share your data with third parties for their own purposes.
+
+
+
3. How invoice reading works, and what that means for your data
+
+ This section matters more than the rest, so it is deliberately specific.
+
+
+ To read an invoice, ChefCode sends the image or PDF you uploaded to Google's Gemini API,
+ which performs the text extraction and returns structured line items. The request goes
+ directly from your browser to Google. The extracted data then comes back to your browser,
+ you review it, and only what you save is written to our database.
+
+
+ This means the contents of an invoice you upload are processed by Google as part of
+ delivering the feature. Google's handling of that data is governed by the terms of the
+ Gemini API. We do not send Google your name, your email, your organization or any other
+ account information — only the document itself and the instructions needed to read it.
+
+
+ If your organization cannot send supplier documents to a third-party AI provider, tell us
+ before you start. That constraint is workable, but it changes how we would deploy for you,
+ and it is far cheaper to discuss up front than to discover later.
+
+
+
4. Who else touches your data
+
+ We keep this list short on purpose. These are every third party involved in running
+ ChefCode:
+
+
+
+
5. How your data is protected
+
+
In transit: every connection uses TLS. Data is never sent over an unencrypted channel.
+
At rest: our database provider encrypts stored data at rest and is SOC 2 Type II certified. That certification covers their infrastructure; ChefCode itself is not separately SOC 2 certified, and we will not imply otherwise.
+
Tenant isolation: every table enforces row-level security in the database, scoped to your organization. One customer cannot read another customer's rows even if the application layer had a bug, because the restriction is enforced by the database rather than by application code.
+
Access control: four roles — Owner, Manager, Chef and Viewer — determine what each team member can see and do, and users can be restricted to a single location.
+ We keep your data for as long as your account is active, because the product's accuracy
+ depends on the history you have built: your product list is what teaches the system your GL
+ codes. Uploaded invoice images are never retained at all, as described above.
+
+
+ If you close your account, tell us and we will delete your organization's data within 30
+ days. Deleting your organization removes its locations, GL codes, vendors, products,
+ invoices and line items by cascade. Backups taken before deletion age out on our provider's
+ normal backup cycle.
+
+
+
7. Your rights
+
+ Wherever you are, we will honour these. If you are in California, the EEA or the UK, some of
+ them are also legal entitlements under the CCPA/CPRA, the GDPR or the UK GDPR.
+
+
+
Access — ask what we hold about you and get a copy.
+
Export — you can export your invoice data to CSV or PDF from inside the product at any time, without asking us.
+
Correction — fix anything inaccurate, in the product or by asking us.
+
Deletion — ask us to delete your account and your organization's data.
+
Complaint — raise a concern with your local data protection authority. We would rather you came to us first so we can actually fix it.
+
+
+ We do not sell personal information, so there is nothing for you to opt out of under the
+ CCPA's "do not sell" right.
+
+
+
8. Who is responsible for what
+
+ For the business data you put into ChefCode — invoices, vendors, products, GL codes — your
+ organization is the controller and we are the processor. We act on your instructions and do
+ not use your business data for our own purposes. For your account information (your email,
+ your name, your role) we are the controller.
+
+ ChefCode's database and hosting are in the United States. If you access the product from
+ outside the US, your data will be transferred to and processed in the US.
+
+
+
10. Children
+
+ ChefCode is a business tool and is not directed at children. We do not knowingly collect
+ personal information from anyone under 16.
+
+
+
11. Changes to this policy
+
+ If we change this policy we will update the date at the top of this page. For a change that
+ materially affects how we handle your data, we will tell account owners directly rather than
+ relying on you to notice.
+
+
+
12. Contact
+
+ For any privacy question, data request, or to report a concern, get in touch and a human
+ will respond — there is no ticket queue, the company is small enough that you reach us
+ directly.
+
+
+
+ );
+}
diff --git a/src/pages/SecurityOverview.tsx b/src/pages/SecurityOverview.tsx
new file mode 100644
index 0000000..25d43e2
--- /dev/null
+++ b/src/pages/SecurityOverview.tsx
@@ -0,0 +1,166 @@
+import LegalLayout, { H2, H3, P, UL, LI, Callout, Table, ContactBlock } from '../components/legal/LegalLayout';
+import { POLICY_UPDATED, PRIVACY_CONTACT_EMAIL } from '../siteConfig';
+
+export default function SecurityOverview() {
+ return (
+
+
+ This document states what is true today, including where we fall short of what a larger
+ vendor would offer. If you find a claim here you cannot verify, tell us — we would rather
+ correct this page than have it quietly fail your review.
+
+
+
Architecture
+
+ ChefCode is a browser application backed by a managed Postgres database. There is no
+ self-managed server infrastructure to patch and no on-premise component to install. The
+ application is served as static assets from a CDN, and it talks directly to the database
+ provider's API over TLS.
+
+
+
+ ChefCode itself is not SOC 2 certified. Our infrastructure providers are. We state this
+ plainly because the distinction matters to an auditor and we are not going to blur it.
+
+
+
Tenant isolation
+
+ This is the control that matters most for a multi-tenant system, so it is enforced at the
+ lowest level we can reach.
+
+
+
Every table carries an organization identifier and has row-level security enabled in Postgres.
+
Policies resolve the signed-in user's organization from their profile and restrict every read and write to that organization's rows.
+
Because the restriction lives in the database rather than in application code, a bug in the front end cannot expose another customer's data. The database refuses the query.
+
The browser only ever holds a public anonymous key, which has no privileges of its own. All access is scoped by the authenticated session.
+
+
+ You can verify this yourself during an evaluation: request a second trial organization and
+ confirm neither can see the other's invoices, products or GL codes.
+
+
+
Encryption
+
+
In transit: TLS on every connection — browser to CDN, browser to database, browser to the extraction API. No unencrypted channel exists.
+
At rest: our database provider encrypts stored data at rest on AWS infrastructure.
+
+
+
What we store, and what we deliberately do not
+
+ Uploaded invoice images and PDFs are never stored. The document is sent for
+ extraction, the structured result is saved, and the file itself is never written to our
+ database or to file storage. There is no repository of scanned documents.
+
+
We store:
+
+
Invoice records — vendor, invoice number, date, total, delivery address, status
+
Line items — description, product number, quantity, unit price, total, assigned GL code
+
Your configuration — locations, GL codes, vendors, products
+
Account records — name, email, role, organization and location assignment
+
+
We do not store:
+
+
Invoice images or PDFs
+
Payment card data — we never collect it
+
Student records of any kind
+
Plain-text passwords — authentication is handled by our provider and passwords are hashed
+
+
+
Access control
+
+ Four roles, assigned per user, enforced in the database alongside the tenant boundary:
+
+
+
+ Users can be restricted to a single location, so a chef at one property does not see another
+ property's invoices.
+
+
+
Third-party AI processing
+
+ Reading an invoice requires sending the uploaded document to Google's Gemini API. The
+ request goes directly from the user's browser to Google and contains the document and the
+ extraction instructions — no account names, email addresses or organization details are
+ included. We do not use customer data to train models, and we do not operate any model of
+ our own on your data.
+
+
+ If your institution's policy prohibits sending supplier documents to a third-party AI
+ provider, raise it with us at evaluation rather than after signature. It is a solvable
+ constraint, but it changes the deployment.
+
+
+
Logging and traceability — current state
+
+ Today ChefCode records, for every row: who created it where that applies, which user
+ processed a given invoice, and creation and last-modified timestamps. That gives you
+ record-level attribution — you can tell who processed an invoice and when it last changed.
+
+
+ Field-level change history is not implemented yet. The schema reserves a
+ table for it, but ChefCode does not currently write a before-and-after record of every edit.
+ If your review requires a full immutable audit log, it is on the roadmap and not in the
+ product today — we would rather tell you that now than have it surface in a questionnaire.
+
+
+
FERPA
+
+ ChefCode processes supplier invoices — what a kitchen bought, from whom, at what price. It
+ has no access to student information systems, enrolment data, meal-plan accounts or any
+ other education record, and it never receives student personally identifiable information.
+ For a university dining operation, ChefCode sits entirely on the procurement side.
+
+
+
Availability and continuity
+
+
The database provider performs automated backups of the managed Postgres instance.
+
Application hosting is served from a global CDN with no single regional dependency for static assets.
+
We do not offer a contractual uptime commitment on standard plans. Enterprise agreements can include one — ask.
+
+
+
Incident response
+
+ ChefCode is operated by a small team, which means there is no escalation maze: a report
+ reaches the person who can fix it immediately. If we become aware of a breach affecting your
+ data we will notify affected account owners without undue delay, and in any event within 72
+ hours of confirming it, with what we know, what we are doing, and what you should do.
+
+
+
Reporting a vulnerability
+
+ If you find a security issue, tell us privately and give us a reasonable chance to fix it
+ before disclosing publicly. We will not pursue legal action against anyone acting in good
+ faith, and we will credit you if you want the credit.
+
+
+
Security questions and reviews
+
+ We will complete your security questionnaire, sign a DPA, and talk directly to your IT or
+ compliance team. See the{' '}
+ Data Processing page for
+ processor terms and the sub-processor list.
+
+ These terms apply when your organization uses ChefCode. By creating an account or using the
+ product you agree to them on behalf of your organization. If you are signing up for an
+ employer, you confirm you are authorised to accept these terms for them.
+
+
+
1. What the service is
+
+ ChefCode reads supplier invoices you upload, extracts the line items, assigns GL codes from
+ the chart of accounts and product list you configure, flags price changes, and lets you
+ review, approve and export the result. It is a tool that produces a draft for a human to
+ check. It is not an accountant, an auditor or a bookkeeper.
+
+
+
2. Accuracy, and your obligation to review
+
+ Every invoice ChefCode codes must be reviewed by a person before you rely on it.{' '}
+ The product is built around a review step for exactly this reason. Automated extraction is
+ very good and it is not perfect — it can misread a smudged line, misassign a code for a
+ product it has not seen, or transcribe a number incorrectly.
+
+
+ You are responsible for the accuracy of the figures you approve, export, submit to your
+ accounting system, or rely on for payment, tax or audit purposes. We provide the draft; the
+ decision to accept it is yours. We are not liable for losses arising from figures you
+ approved without checking them.
+
+
+ Any accuracy figures we publish describe typical performance in our own testing. They are
+ not a warranty, and they do not apply to any particular invoice.
+
+
+
3. Accounts and your team
+
+
The person who creates the organization becomes its Owner and can invite others.
+
Each team member has a role — Owner, Manager, Chef or Viewer — which determines their access. Choosing appropriate roles is your responsibility.
+
You are responsible for keeping credentials secure and for activity under your accounts. Tell us promptly if you believe an account has been compromised.
+
Accounts are for named individuals. Do not share one login across a team.
+
+
+
4. Trial and billing
+
+
New organizations get a 15-day free trial. No card is required to start it.
+
When the trial ends, the account becomes read-only until you move to a paid plan. Your data is not deleted when a trial expires.
+
Fees, limits and billing period are those of the plan agreed with you in writing. Plans are billed in advance.
+
Fees are non-refundable except where required by law, or where we have failed to provide the service and cannot put it right.
+
We will give at least 30 days' notice before a price change affecting you, and it will not take effect before your next renewal.
+
+
+
5. Your data belongs to you
+
+ You keep all rights to the data you put into ChefCode — your invoices, vendors, products, GL
+ codes and locations. We claim no ownership of it. We use it only to provide the service to
+ you, as described in our{' '}
+ Privacy Policy.
+
+
+ We do not use your business data to train AI models. You can export your data from inside
+ the product at any time, and you can ask us to delete it.
+
+
+
6. Acceptable use
+
Do not:
+
+
Upload documents you do not have the right to process
+
Upload material containing sensitive personal data — health records, government identifiers, or payment card numbers. ChefCode is built for supplier invoices and is not designed to hold those.
+
Attempt to access another organization's data, probe the service for vulnerabilities without our written permission, or interfere with its operation
+
Resell or white-label the service without an agreement with us
+
Use the service to break the law
+
+
+ If you find a security vulnerability, report it to us. We will not pursue anyone who
+ investigates in good faith, tells us privately, and gives us a reasonable chance to fix it
+ before saying anything publicly.
+
+
+
7. Availability
+
+ We work to keep ChefCode available and will give notice of planned maintenance where we
+ reasonably can. We do not commit to a specific uptime percentage on our standard plans. If
+ your organization needs a contractual service level, that belongs in an enterprise agreement
+ — talk to us and we will put one in writing rather than leave you relying on a page like
+ this one.
+
+
+ The service depends on third-party providers, including our hosting, database and AI
+ providers. An outage at one of those can interrupt ChefCode.
+
+
+
8. Ending the agreement
+
+
You can stop using ChefCode and close your account at any time.
+
We may suspend or close an account that breaches these terms, that is used unlawfully, or where fees are substantially overdue. Except for serious misuse, we will tell you and give you a chance to fix the problem first.
+
Export your data before you close your account. On request after closure we will delete your organization's data within 30 days.
+
+
+
9. Warranties
+
+ We provide ChefCode with reasonable care and skill. Beyond that, and to the extent the law
+ allows, the service is provided as is, without implied warranties of merchantability,
+ fitness for a particular purpose, or non-infringement. We do not warrant that the service
+ will be uninterrupted or error-free, or that automated coding will be accurate in every
+ case.
+
+
+
10. Limitation of liability
+
+ To the extent permitted by law, neither party is liable for indirect, incidental, special or
+ consequential losses, or for lost profits, revenue, goodwill or data, even if advised such
+ losses were possible.
+
+
+ Our total liability for any claim arising out of or relating to these terms is limited to
+ the fees you paid us in the 12 months before the event giving rise to the claim.
+
+
+ Nothing here limits liability that cannot be limited by law, including for fraud or for
+ death or personal injury caused by negligence.
+
+
+
11. Changes to these terms
+
+ We may update these terms. The date at the top of this page shows the current version. For a
+ material change we will notify account owners directly and, where it affects a paid plan,
+ the change takes effect at your next renewal.
+
+
+
12. Governing law
+
+ These terms are governed by the laws of {LEGAL_JURISDICTION}, without regard to its conflict
+ of laws rules. The courts located there have exclusive jurisdiction, except that either
+ party may seek injunctive relief wherever appropriate.
+
+
+
13. Contact
+
+ Questions about these terms, or want an enterprise agreement with a negotiated service level
+ and a signed DPA? Get in touch.
+
+
+
+ );
+}
diff --git a/src/siteConfig.ts b/src/siteConfig.ts
index 7240ff3..49b6aaa 100644
--- a/src/siteConfig.ts
+++ b/src/siteConfig.ts
@@ -22,3 +22,22 @@ export const DEMO_BOOKING_URL = 'https://calendly.com/et-ajith2k/30min';
/** True once DEMO_BOOKING_URL has been pointed at a real https:// booking page. */
export const hasBookingLink = /^https:\/\//.test(DEMO_BOOKING_URL);
+
+/**
+ * Where privacy, security and data-deletion requests go.
+ *
+ * A monitored mailbox, which is what privacy law expects — a channel a person
+ * can actually reach, not a booking form. Worth moving to privacy@chefcode.cc
+ * once that domain has MX records, since an institutional reviewer reads a
+ * branded address as a stronger signal.
+ */
+export const PRIVACY_CONTACT_EMAIL = 'et.ajith2k@gmail.com';
+export const PRIVACY_CONTACT_URL = `mailto:${PRIVACY_CONTACT_EMAIL}`;
+export const PRIVACY_CONTACT_LABEL = 'Email us';
+
+/** Legal entity named in the policies. */
+export const LEGAL_ENTITY = 'ChefCode.ai';
+export const LEGAL_JURISDICTION = 'the State of California, United States';
+
+/** Effective date stamped on the policy pages (ISO, YYYY-MM-DD). */
+export const POLICY_UPDATED = '2026-10-03';