import type { Metadata } from "next";
import { LegalDoc, type LegalSection } from "@/components/marketing/legal-doc";

export const metadata: Metadata = { title: "Acceptable Use Policy" };

const UPDATED = "June 7, 2026";

const SECTIONS: LegalSection[] = [
  {
    heading: "Purpose",
    paragraphs: [
      "This Acceptable Use Policy (AUP) sets out what you may and may not do with Podcast Distribution AI. It supplements our Terms of Service. We may update it as the service and abuse patterns evolve.",
    ],
  },
  {
    heading: "Prohibited content",
    paragraphs: ["You may not use Podcast Distribution AI to create, store, or distribute content that:"],
    bullets: [
      "Is illegal, infringes intellectual-property or privacy rights, or violates any applicable law.",
      "Is hateful, harassing, threatening, or incites violence against people or groups.",
      "Is sexually explicit, exploits minors, or sexualizes real individuals.",
      "Impersonates a real person or clones a real voice or likeness without that person's consent.",
      "Spreads deliberate disinformation, fraud, or scams, or facilitates malware or phishing.",
    ],
  },
  {
    heading: "Prohibited conduct",
    paragraphs: ["You also agree not to:"],
    bullets: [
      "Bypass or attempt to bypass usage limits, rate limits, authentication, or other security controls.",
      "Scrape, reverse-engineer, or attempt to extract the underlying models or source code.",
      "Resell, sublicense, or white-label the service except as expressly permitted by your plan.",
      "Use automated access (including the API) in a way that degrades the service for others.",
    ],
  },
  {
    heading: "AI-generated media",
    paragraphs: [
      "Because Podcast Distribution AI produces synthetic voice and imagery, you are responsible for using it ethically: do not create deceptive deepfakes of real people, and disclose that audio is AI-generated where your audience or the law expects it. You are responsible for clearing any rights needed for the topics, names, and references in your episodes.",
    ],
  },
  {
    heading: "Enforcement",
    paragraphs: [
      "We use automated moderation to screen topics and generated scripts, and we may flag, hold, remove, or refuse to generate content that violates this policy. We may suspend or terminate accounts that abuse the service or put it, our providers, or other users at risk — immediately in serious cases.",
    ],
  },
  {
    heading: "Reporting abuse",
    paragraphs: [
      "If you believe content created with Podcast Distribution AI violates this policy, report it to abuse@podcastdistributionai.com with enough detail for us to investigate.",
    ],
  },
];

export default function AcceptableUsePage() {
  return (
    <LegalDoc
      title="Acceptable Use Policy"
      updated={UPDATED}
      intro="We want Podcast Distribution AI to be a safe, trustworthy place to create. This policy describes the content and conduct that are not allowed on the platform."
      sections={SECTIONS}
    />
  );
}
