// ─── Legal page content ──────────────────────────────────────────────
// Single source of truth for the Privacy Policy and Terms of Use pages.
// Written for Tenext Technologies with its real contact details. This is
// standard, good-faith scaffolding — have it reviewed by legal counsel
// and adjust `effectiveDate` before publishing.
// ─────────────────────────────────────────────────────────────────────

import { siteConfig } from "@/data/site-config";

export interface LegalSection {
  heading: string;
  body: string[];
}

export const legalEffectiveDate = "2026";

export const privacyPolicy: LegalSection[] = [
  {
    heading: "Overview",
    body: [
      `${siteConfig.legalName} ("Tenext", "we", "us") respects your privacy. This policy explains what information we collect through this website, how we use it, and the choices you have.`,
    ],
  },
  {
    heading: "Information we collect",
    body: [
      "We collect the information you choose to give us — for example, your name, email address, and message when you submit our contact form or email us directly.",
      "We also collect limited technical information automatically, such as your browser type and pages visited, to keep the site secure and understand how it is used.",
    ],
  },
  {
    heading: "How we use information",
    body: [
      "We use the information you provide to respond to your enquiry, deliver the services you request, and improve our website and communications.",
      "We do not sell your personal information.",
    ],
  },
  {
    heading: "Data sharing",
    body: [
      "We share information only with service providers who help us operate this website and our business, and only to the extent needed to perform that work, or where required by law.",
    ],
  },
  {
    heading: "Data retention and security",
    body: [
      "We keep personal information only for as long as needed for the purposes described here, and apply appropriate technical and organisational measures to protect it.",
    ],
  },
  {
    heading: "Your rights",
    body: [
      "You may request access to, correction of, or deletion of your personal information. To make a request, contact us using the details below.",
    ],
  },
  {
    heading: "Contact us",
    body: [
      `For any privacy question, email ${siteConfig.email} or write to ${siteConfig.legalName}, ${siteConfig.address.line1}, ${siteConfig.address.line2}.`,
    ],
  },
];

export const termsOfUse: LegalSection[] = [
  {
    heading: "Acceptance of terms",
    body: [
      `By accessing this website you agree to these terms. If you do not agree, please do not use the site. The site is operated by ${siteConfig.legalName}.`,
    ],
  },
  {
    heading: "Use of the website",
    body: [
      "You may use this website for lawful purposes only. You agree not to misuse the site, interfere with its operation, or attempt to access it in any way other than through the interface we provide.",
    ],
  },
  {
    heading: "Intellectual property",
    body: [
      "All content on this website — text, graphics, logos, and design — is owned by or licensed to Tenext and is protected by applicable intellectual-property laws. You may not reuse it without our written permission.",
    ],
  },
  {
    heading: "No warranty",
    body: [
      "This website and its content are provided on an \"as is\" basis. While we work to keep information accurate and current, we make no warranties about its completeness or availability.",
    ],
  },
  {
    heading: "Limitation of liability",
    body: [
      "To the extent permitted by law, Tenext is not liable for any loss arising from your use of, or inability to use, this website.",
    ],
  },
  {
    heading: "Changes to these terms",
    body: [
      "We may update these terms from time to time. Continued use of the website after changes are posted constitutes acceptance of the updated terms.",
    ],
  },
  {
    heading: "Contact us",
    body: [
      `Questions about these terms can be sent to ${siteConfig.email}.`,
    ],
  },
];
