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

const TERMS_SECTIONS = [
  { h: "Services", p: ["Autoclient provides digital marketing services including, but not limited to, search engine optimization (SEO), pay-per-click advertising, paid social, web design, content creation, AI automation, and marketing consulting."] },
  { h: "Use of our website", p: ["You must be at least 18 years old to use our services. You agree to use our website and services only for lawful purposes."], list: [
    "Do not violate any applicable laws or regulations.",
    "Do not infringe on intellectual property rights.",
    "Do not transmit harmful code, viruses, or malicious software.",
    "Do not attempt to gain unauthorized access to our systems.",
    "Do not use our services to spam or harass others.",
  ] },
  { h: "Communications & marketing consent", p: ["By providing your contact information and opting in, you consent to receive communications from us. You can opt out at any time."], list: [
    "Email: marketing emails, newsletters, service updates, and transactional messages. Unsubscribe anytime via the link in any email.",
    "SMS: automated and promotional texts. Consent is not a condition of purchase, frequency varies, and message and data rates may apply. Reply STOP to opt out or HELP for assistance.",
    "Other channels: phone calls, push notifications, and in-app messages where you have consented.",
  ] },
  { h: "Client services & agreements", p: ["Specific services may be governed by separate written agreements, statements of work, or proposals, which take precedence over these general terms in the event of a conflict. Fees, payment terms, and cancellation terms are specified in your individual agreement. You agree to provide accurate, timely information, grant necessary platform access, and comply with platform policies."] },
  { h: "Intellectual property", p: ["All content on our website is the property of Autoclient or its licensors and is protected by intellectual property laws. You retain ownership of content you provide and grant us a license to use it to deliver your services. Ownership of deliverables is specified in your agreement; generally, upon full payment you own the final work product while we retain rights to our methodologies, tools, and pre-existing materials."] },
  { h: "Third-party services", p: ["Our services may integrate with third-party platforms such as Google Ads, Meta Ads, and analytics tools. Your use of those platforms is subject to their own terms, and we are not responsible for their performance."] },
  { h: "Disclaimers & limitation of liability", p: ["While we strive for excellent results, we do not guarantee specific outcomes, rankings, traffic, or revenue, as performance depends on many factors outside our control. Services are provided on an “as is” and “as available” basis without warranties of any kind.", "To the maximum extent permitted by law, Autoclient is not liable for any indirect, incidental, special, consequential, or punitive damages. Our total liability for any claim will not exceed the amount you paid us in the 12 months preceding the claim."] },
  { h: "Confidentiality", p: ["We respect the confidentiality of your business information and will not disclose it except with your consent, to service providers bound by confidentiality obligations, as required by law, or to enforce our rights."] },
  { h: "Termination", p: ["You may stop using our services at any time; termination terms for ongoing work are specified in your agreement. We may suspend or terminate access if you violate these terms or engage in fraudulent, abusive, or illegal activity. Upon termination you remain responsible for outstanding fees, and provisions on intellectual property, disclaimers, and liability survive."] },
  { h: "Privacy", p: ["Our collection and use of personal information is governed by our Privacy Policy, which is incorporated into these terms by reference."] },
  { h: "Changes to these terms", p: ["We may update these terms to reflect changes in our practices, services, or legal requirements. We will post the updated terms with a new “last updated” date and, where appropriate, notify you directly. Continued use after changes constitutes acceptance."] },
  { h: "Dispute resolution", p: ["These terms are governed by the laws of the State of Texas. Before filing a claim, you agree to contact us to resolve the dispute informally. Any disputes that cannot be resolved informally will be settled through binding arbitration under the rules of the American Arbitration Association, conducted in Travis County, Texas."] },
  { h: "Miscellaneous", p: ["These terms, along with our Privacy Policy and any service-specific agreements, constitute the entire agreement between you and Autoclient. If any provision is found unenforceable, the rest remain in effect. Our failure to enforce a provision is not a waiver, and you may not assign these terms without our consent. Nothing here creates a partnership, joint venture, or agency relationship."] },
];

function TermsPage() {
  return (
    <LegalLayout
      kicker="Legal"
      title="Terms of Service"
      updated="January 31, 2026"
      intro="Welcome to Autoclient. By accessing or using our website and services, you agree to be bound by these Terms of Service. If you do not agree, please do not use our services."
      sections={TERMS_SECTIONS}
    />
  );
}

Object.assign(window, { TermsPage });
