diff --git a/src/Router.tsx b/src/Router.tsx index eb18b30..58a8e33 100644 --- a/src/Router.tsx +++ b/src/Router.tsx @@ -4,6 +4,20 @@ import './index.css'; // Tailwind build with brand colors for landing page // Lazy-load pages so none blocks the others const LandingPage = lazy(() => import('./pages/LandingPage')); const SetupGuide = lazy(() => import('./pages/SetupGuide')); +const Privacy = lazy(() => import('./pages/Privacy')); +const Terms = lazy(() => import('./pages/Terms')); +const SecurityOverview = lazy(() => import('./pages/SecurityOverview')); +const DataProcessing = lazy(() => import('./pages/DataProcessing')); + +// Policy pages. Longest-prefix-free: none of these is a prefix of another, and +// none collides with the landing page's #security anchor (that's a hash, not a +// path). Kept in one table so adding a page is a single line. +const LEGAL_ROUTES: Array<[string, React.LazyExoticComponent<() => JSX.Element>]> = [ + ['/privacy', Privacy], + ['/terms', Terms], + ['/security', SecurityOverview], + ['/dpa', DataProcessing], +]; // Note: the file is named MainApp.tsx (not App.tsx) on purpose — on Windows // the dev server resolved the URL /app to App.tsx case-insensitively and // served raw source instead of the SPA. @@ -37,6 +51,17 @@ export default function Router() { ); } + // Policy pages + const legal = LEGAL_ROUTES.find(([prefix]) => path.startsWith(prefix)); + if (legal) { + const Page = legal[1]; + return ( + }> + + + ); + } + // Everything else shows the landing page return ( }> diff --git a/src/components/landing/Footer.tsx b/src/components/landing/Footer.tsx index aa446af..7b2843d 100644 --- a/src/components/landing/Footer.tsx +++ b/src/components/landing/Footer.tsx @@ -1,3 +1,10 @@ +import { DEMO_BOOKING_URL, PRIVACY_CONTACT_EMAIL } from '../../siteConfig'; + +// Every link here goes somewhere real. The previous version had eleven +// href="#" stubs — including all four legal links — which is the worst place +// to disappoint an institutional buyer, since Privacy and Terms are the first +// things their procurement team clicks. Sections we genuinely do not have +// (blog, careers, status page) were removed rather than left as dead ends. const columns = [ { title: 'Product', @@ -5,35 +12,34 @@ const columns = [ { label: 'Features', href: '/#features' }, { label: 'How It Works', href: '/#how-it-works' }, { label: 'Pricing', href: '/#pricing' }, - { label: 'Security', href: '/#security' }, { label: 'Setup Guide', href: '/setup' }, ], }, { title: 'Solutions', links: [ - { label: 'University Dining', href: '#features' }, - { label: 'Hotels', href: '#features' }, - { label: 'Restaurants', href: '#features' }, - { label: 'Hospitals', href: '#features' }, + { label: 'University Dining', href: '/#features' }, + { label: 'Hotels', href: '/#features' }, + { label: 'Restaurants', href: '/#features' }, + { label: 'Hospitals', href: '/#features' }, ], }, { - title: 'Company', + title: 'Get started', links: [ - { label: 'About', href: '#' }, - { label: 'Blog', href: '#' }, - { label: 'Careers', href: '#' }, - { label: 'Contact', href: '#' }, + { label: 'Start free trial', href: '/app' }, + { label: 'Book a demo', href: DEMO_BOOKING_URL }, + { label: 'Setup guide', href: '/setup' }, + { label: 'Contact us', href: `mailto:${PRIVACY_CONTACT_EMAIL}` }, ], }, { title: 'Legal', links: [ - { label: 'Privacy Policy', href: '#' }, - { label: 'Terms of Service', href: '#' }, - { label: 'Security Overview', href: '#' }, - { label: 'Data Processing', href: '#' }, + { label: 'Privacy Policy', href: '/privacy' }, + { label: 'Terms of Service', href: '/terms' }, + { label: 'Security Overview', href: '/security' }, + { label: 'Data Processing', href: '/dpa' }, ], }, ]; @@ -45,7 +51,7 @@ export default function Footer() {
{/* Brand column */}
- + ChefCode ChefCode.ai @@ -63,7 +69,13 @@ export default function Footer() { @@ -74,9 +86,19 @@ export default function Footer() {

© {new Date().getFullYear()} ChefCode.ai. All rights reserved.

- Privacy - Terms - Status + {[ + { label: 'Privacy', href: '/privacy' }, + { label: 'Terms', href: '/terms' }, + { label: 'Security', href: '/security' }, + ].map((l) => ( + + {l.label} + + ))}
diff --git a/src/components/landing/Navbar.tsx b/src/components/landing/Navbar.tsx index d48f714..75dcad7 100644 --- a/src/components/landing/Navbar.tsx +++ b/src/components/landing/Navbar.tsx @@ -26,7 +26,7 @@ export default function Navbar() { >
{/* ── Logo ── */} - + ChefCode ChefCode.ai diff --git a/src/components/landing/Security.tsx b/src/components/landing/Security.tsx index 8df219b..931e4d5 100644 --- a/src/components/landing/Security.tsx +++ b/src/components/landing/Security.tsx @@ -4,8 +4,13 @@ import { useReveal } from '../../hooks/useReveal'; const badges = [ { icon: Lock, label: '256-bit encryption', desc: 'TLS 1.3 in transit, AES-256 at rest' }, { icon: Eye, label: 'Row-level isolation', desc: 'Database enforced — not just application logic' }, - { icon: Server, label: 'SOC 2 infrastructure', desc: 'Hosted on AWS via Supabase, SOC 2 Type II' }, - { icon: FileCheck, label: 'Complete audit trail', desc: 'Every action logged with user, timestamp, old/new values' }, + { icon: Server, label: 'SOC 2 infrastructure', desc: 'Runs on Supabase/AWS, SOC 2 Type II certified' }, + // Was "Complete audit trail — every action logged with user, timestamp, + // old/new values". The audit_logs table exists but nothing writes to it, so + // that claim would fail the first question of a security review. This states + // what the schema actually guarantees today: processed_by plus created_at / + // updated_at on every record. + { icon: FileCheck, label: 'Traceable records', desc: 'Every invoice carries who processed it and when it changed' }, { icon: KeyRound, label: 'Role-based access', desc: '4 permission levels — Owner, Manager, Chef, Viewer' }, { icon: ShieldCheck, label: 'FERPA safe', desc: 'Zero student PII. Invoice data only.' }, ]; @@ -52,9 +57,15 @@ export default function Security() {
- + {/* Was href="#" promising a PDF that did not exist. It now opens the + real Security Overview, which carries a "Save as PDF" button for + reviewers who need a file to attach. */} + - Download our Security Overview (PDF) + Read our Security Overview
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 ; +} + +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 ( +
    +

    {children}

    +
    + ); +} + +export function Table({ head, rows }: { head: string[]; rows: ReactNode[][] }) { + return ( +
    + + + + {head.map((h) => ( + + ))} + + + + {rows.map((r, i) => ( + + {r.map((cell, j) => ( + + ))} + + ))} + +
    + {h} +
    + {cell} +
    +
    + ); +} + +/** + * 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 ( +
    + + {email} + +

    + 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

    + + +

    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

    + + +

    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. +

    + + + ); +} diff --git a/src/pages/Privacy.tsx b/src/pages/Privacy.tsx new file mode 100644 index 0000000..943ff3e --- /dev/null +++ b/src/pages/Privacy.tsx @@ -0,0 +1,178 @@ +import LegalLayout, { H2, H3, P, UL, LI, Callout, Table, ContactBlock } from '../components/legal/LegalLayout'; +import { POLICY_UPDATED, PRIVACY_CONTACT_EMAIL, LEGAL_ENTITY } from '../siteConfig'; + +export default function Privacy() { + return ( + +

    + 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

    + +

    + Our full technical write-up is on the Security Overview page. +

    + +

    6. How long we keep things

    +

    + 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. +

    + +

    + 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. +

    +

    + Details are on the Data Processing page. +

    + +

    9. Where your data lives

    +

    + 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. +

    + +

    + 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

    + + +

    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:

    + +

    We do not store:

    + + +

    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

    + + +

    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. +

    + + + ); +} diff --git a/src/pages/Terms.tsx b/src/pages/Terms.tsx new file mode 100644 index 0000000..9099eb8 --- /dev/null +++ b/src/pages/Terms.tsx @@ -0,0 +1,157 @@ +import LegalLayout, { H2, P, UL, LI, Callout, ContactBlock } from '../components/legal/LegalLayout'; +import { + POLICY_UPDATED, PRIVACY_CONTACT_EMAIL, + LEGAL_ENTITY, LEGAL_JURISDICTION, +} from '../siteConfig'; + +export default function Terms() { + return ( + +

    + 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';