// ============================================================
// autoclient.io — LEGAL: Client Service Terms
// ============================================================

const CLIENT_TERMS_SECTIONS = [
  { h: "About these terms", blocks: [
      { p: "These Client Service Terms apply when you hire AutoClient LLC (\"autoclient,\" \"we,\" \"us\"), a Texas limited liability company, for marketing services without a signed Master Services Agreement (MSA). By approving a proposal, paying an invoice or asking us to start work, you agree to them." },
      { p: <><strong>If you've signed an MSA with us, it governs instead of these terms.</strong> If a proposal or statement of work (SOW) conflicts with these terms, the proposal or SOW controls scope and fees, and these terms control everything else. Our website Terms of Service and Privacy Policy also apply.</> },
  ] },
  { h: "Services and scope", blocks: [
      { p: "Your proposal, quote or invoice describes the services we'll provide, such as paid media, SEO, email and SMS, automation or web design. Anything not listed there is outside the scope." },
      { p: "If you ask for extra work, we'll confirm the added cost and timing in writing (email is fine) before we start. Timelines depend on getting what we need from you on time. Monthly allowances, such as a set number of emails, don't carry over to the next month." },
  ] },
  { h: "Fees, billing and ad spend", blocks: [
      { list: [
        <><strong>Our fees:</strong> monthly fees are invoiced in advance, on or about the 1st of each month. One-time setup or project fees are billed as your proposal states, usually on the first invoice.</>,
        <><strong>Payment due:</strong> invoices are due within 15 days. Overdue amounts may bear interest at 1.5% per month, or the legal maximum if that's lower. If an invoice is more than 15 days overdue, we may pause services after giving you 5 business days' written notice.</>,
        <><strong>Ad spend is separate.</strong> You pay advertising platforms such as Google, Meta and TikTok directly for media spend, unless your proposal says otherwise.</>,
        <><strong>Third-party costs:</strong> software, platform usage, phone carrier charges, stock media and similar costs are paid by you directly to the provider, or reimbursed to us when you approve them in advance.</>,
        <><strong>Taxes:</strong> our fees don't include sales or use taxes, which are your responsibility.</>,
      ] },
  ] },
  { h: "Term, cancellation and refunds", blocks: [
      { list: [
        <><strong>Month to month.</strong> Services continue until either side ends the whole engagement, or any single service, with 30 days' written notice. Email is fine.</>,
        <><strong>For cause:</strong> either side may end things if the other materially breaks these terms and doesn't fix it within 15 days of written notice, or right away if continuing would require breaking the law.</>,
        <><strong>What you owe:</strong> fees for work done and non-cancellable costs through the end date. Monthly fees for a service that ends mid-month are prorated. One-time setup fees aren't refundable once setup work has begun.</>,
        <><strong>Handover:</strong> for 30 days after the end, we'll help transfer admin access to your accounts and export your data. Help beyond 5 hours is billed at our hourly rate.</>,
      ] },
  ] },
  { h: "What we need from you", blocks: [
      { list: [
        <><strong>Access and one authorized contact:</strong> admin access to the accounts we manage, and one person who can approve work and tracking changes in writing.</>,
        <><strong>Accurate information:</strong> about your business, offers, prices, licenses and credentials. The claims you ask us to publish must be accurate and backed up.</>,
        <><strong>Timely approvals:</strong> we'll send content for your review. Approval by email counts. Please reply within 3 business days so schedules can hold. Anything you approve, you're responsible for.</>,
        <><strong>Rights and consents:</strong> you confirm you have permission to use the logos, photos, videos and testimonials you send us. For patient photos, videos, testimonials or case details, you get any HIPAA-compliant patient authorization needed first.</>,
        <><strong>Your contact lists:</strong> if you give us contacts to email or text, you confirm you have permission to contact them and are responsible for CAN-SPAM and texting-law compliance for those contacts.</>,
      ] },
  ] },
  { h: "Accounts and ownership", blocks: [
      { list: [
        <><strong>Your accounts are yours.</strong> You own your websites, domains, ad accounts, analytics, tag manager containers, Google Business Profile and social accounts, whoever created them. You should hold the main admin role. If we created an account for you, we'll transfer admin control on request, as long as your account with us is current.</>,
        <><strong>Deliverables:</strong> once you've paid for them, you own the final work we create for you, such as ads, copy, designs, emails and landing pages. Until then, you can use them for your business.</>,
        <><strong>Our materials:</strong> we keep our own templates, code, workflows, automations, know-how and our ClientLink platform. Where they're part of your deliverables, you get a permanent license to keep using them that way.</>,
        <><strong>Your materials:</strong> you let us use what you send us during our work together, only to deliver your services.</>,
        <><strong>Portfolio:</strong> see section 13.</>,
      ] },
  ] },
  { h: "Results and reporting", blocks: [
      { list: [
        <><strong>No guaranteed results.</strong> We work hard to hit the goals we set together, but we can't guarantee rankings, leads, sales, return on ad spend or any other outcome. Results depend on factors outside our control, such as competition, platform changes, budget, your offer and how leads are followed up.</>,
        <><strong>Projections are estimates.</strong> Forecasts in proposals or strategy sessions are planning tools, not promises.</>,
        <><strong>Reporting:</strong> we report on the metrics agreed in your proposal, on the schedule it sets. Numbers come from the platforms themselves (for example Google Ads, Meta and your analytics). Attribution between platforms is an estimate, because tracking is never complete.</>,
      ] },
  ] },
  { h: "Health information (HIPAA)", blocks: [
      { p: "If you're a healthcare provider or another HIPAA-covered business:" },
      { list: [
        <><strong>We sign a Business Associate Agreement (BAA) first.</strong> We don't accept protected health information (PHI), such as patient lists, intake forms or appointment details, until a BAA is signed. If the BAA and these terms conflict, the BAA wins.</>,
        <><strong>Minimum necessary:</strong> we ask only for the patient information a campaign actually needs, and often need none.</>,
        <><strong>Ad platforms and tracking:</strong> by default, we don't set up tracking to send form contents, appointment details or other health information to ad or analytics platforms that haven't signed a BAA with you (see section 9).</>,
        <><strong>Tools:</strong> we handle PHI only in tools covered by a BAA. We don't put PHI into AI tools, email platforms or other software without that coverage. Anyone who handles PHI for us, including our affiliate Clientlink LLC, is bound by the same protections.</>,
        <><strong>Patient content:</strong> testimonials, photos and stories need the patient's written authorization, which you collect and keep.</>,
      ] },
  ] },
  { h: "Tracking technologies and privacy decisions", blocks: [
      { list: [
        <><strong>You decide what runs on your websites and accounts.</strong> Pixels, tags, cookies, conversion APIs, chat widgets, call tracking and similar tools are your decision. You're responsible for whether they, your privacy policy, your consent tools and your data practices comply with the law.</>,
        <><strong>We change tracking only with your written approval.</strong> Email from your authorized contact is enough. We keep a log of approved changes and share it on request.</>,
        <><strong>Our suggestions aren't legal advice.</strong> We'll tell you when we think a page or event may reveal health or other sensitive information, but your own counsel makes the legal call.</>,
        <><strong>Tracking we didn't install isn't our responsibility,</strong> including code added by you, a previous agency, your web developer or another vendor.</>,
        <><strong>We may decline or pause</strong> a tracking setup we reasonably believe creates legal or platform-policy risk, after letting you know.</>,
      ] },
  ] },
  { h: "Regulated industries (healthcare, legal and others)", blocks: [
      { list: [
        <><strong>Your professional rules apply to you.</strong> Medical boards, dental boards and state bars have their own advertising rules, such as limits on testimonials, "specialist" claims, case results and before-and-after photos. You're responsible for making sure your ads follow the rules that govern your license.</>,
        <><strong>We'll flag what we notice,</strong> and we follow FTC advertising guidelines and platform policies. But you approve all final content before it runs.</>,
        <><strong>Not legal or medical advice.</strong> Nothing we provide is legal, medical or compliance advice. For anything borderline, check with your own counsel or compliance contact.</>,
        <><strong>Filings:</strong> if your rules require ads to be filed or pre-approved, as with some state bars, you handle the filing. We'll send you the final versions you need.</>,
      ] },
  ] },
  { h: "How we use AI", blocks: [
      { list: [
        "We use AI tools to help with research, reporting, ad and content drafts, creative variations, campaign monitoring and bid optimization.",
        <><strong>People stay in charge.</strong> A member of our team reviews AI-assisted work before it's delivered to you or published. Strategy decisions are made by people.</>,
        <><strong>Your data:</strong> we don't enter protected health information into AI tools, and we limit other confidential information to tools with appropriate business data protections.</>,
        <><strong>No fake content:</strong> we don't use AI to create fake reviews, fake testimonials, or images of patients or clients presented as real.</>,
      ] },
  ] },
  { h: "Confidentiality and data", blocks: [
      { list: [
        "We keep your non-public business information confidential, such as pricing, results, customer data and strategy. We share it only with team members and service providers who need it to do the work and are bound to keep it confidential, or when the law requires.",
        "We use your data only to deliver your services, following your instructions.",
        "When our work together ends, we return or delete your data on request, except what we must keep for legal, tax or billing reasons.",
        "Please keep our pricing, proposals and methods confidential too. These obligations last while we work together and for 3 years after. Obligations for health information never expire.",
      ] },
  ] },
  { h: "Case studies, awards and portfolio", blocks: [
      { p: <>We'll <strong>ask for your written permission</strong> (email is fine) before using your name, logo, work or results in case studies, award entries, our website or marketing. You can say no or ask us to remove it later. We never publish patient or client health information.</> },
  ] },
  { h: "Liability and responsibility", blocks: [
      { list: [
        <><strong>Our standard:</strong> we'll perform the services professionally, consistent with accepted industry practice. We don't guarantee results (see section 7).</>,
        <><strong>Platforms are outside our control.</strong> We're not responsible for outages, policy or algorithm changes, account suspensions or ad disapprovals by Google, Meta or other platforms, though we'll help you resolve them.</>,
        <><strong>Limit on liability:</strong> to the extent the law allows, neither side is liable for indirect or lost-profit damages. Our total liability for any claim is capped at the fees you paid us in the 6 months before the event that caused it.</>,
        <><strong>Your side:</strong> you agree to cover us for claims arising from your materials, your medical, legal or other professional services, your privacy and data practices, tracking you approved or that others installed, ad claims you approved, or your breach of these terms or the law.</>,
        <><strong>Our side:</strong> we agree to cover you for claims that our original work infringes someone else's rights, our gross negligence or willful misconduct, or our breach of a BAA.</>,
      ] },
  ] },
  { h: "Disputes, changes and contact", blocks: [
      { list: [
        <><strong>Talk to us first.</strong> Before going to court, both sides will try in good faith for 30 days to resolve a dispute through discussion, except for urgent requests to a court to stop harm.</>,
        <><strong>Governing law and courts:</strong> Texas law applies. The state and federal courts in Travis County, Texas handle any dispute. The winning side may recover reasonable attorneys' fees.</>,
        <><strong>Changes:</strong> we may update these terms and will post the new version with a new date. Changes don't affect work already agreed in a signed proposal or SOW.</>,
        <><strong>Contact:</strong> info@autoclient.io · AutoClient LLC, Austin, TX 78704</>,
      ] },
  ] },
  { h: "Other terms", blocks: [
      { list: [
        <><strong>Our team:</strong> we may use employees, contractors and affiliates, including Clientlink LLC, to deliver the services. We're responsible for their work.</>,
        <><strong>ClientLink platform:</strong> if you use our ClientLink CRM, you own the data you put in it and can export it anytime, and for 30 days after we stop working together. Forms and automations we host stay live for those 30 days if your account is current.</>,
        <><strong>No hiring each other's people:</strong> while we work together and for 12 months after, neither side will recruit the other's staff who worked on your account, without written consent.</>,
        <><strong>Events outside anyone's control,</strong> such as platform outages, cyberattacks or natural disasters, excuse delays, except for payments.</>,
        <><strong>Independent businesses:</strong> we're independent contractors. Nothing here creates a partnership or employment relationship.</>,
      ] },
  ] },
];

function ClientTermsPage() {
  return (
    <LegalLayout
      kicker="Legal"
      title="Client Service Terms"
      updated="November 9, 2026"
      intro={"The terms for working with autoclient when we don't have a signed Master Services Agreement with you. Plain English, no surprises."}
      sections={CLIENT_TERMS_SECTIONS}
    />
  );
}

Object.assign(window, { ClientTermsPage });
