import type { Metadata } from "next";

export const metadata: Metadata = {
  title: "Terms of Service",
  description: "Terms of Service for The Simple Heart Initiative websites.",
};

export default function Terms() {
  return (
    <article className="max-w-3xl mx-auto px-6 py-16">
      <h1 className="text-4xl font-semibold tracking-tight text-[var(--color-primary-dark)]">Terms of Service</h1>
      <p className="text-sm text-[var(--color-text-secondary)] mt-2">Last updated: April 14, 2026</p>

      <section className="mt-8 space-y-6 text-[var(--color-text)] leading-relaxed">
        <p>
          These Terms of Service (&ldquo;Terms&rdquo;) govern your use of the websites operated by The
          Simple Heart Initiative (&ldquo;Simple Heart,&rdquo; &ldquo;we,&rdquo; &ldquo;our,&rdquo; or
          &ldquo;us&rdquo;), including simpleheart.org and placement.savethedogs.io. By using our sites,
          you agree to these Terms.
        </p>

        <h2 className="text-2xl font-semibold text-[var(--color-primary-dark)]">About Simple Heart</h2>
        <p>
          The Simple Heart Initiative is a 501(c)(3) public charity (EIN 88-2248389) registered in Santa
          Cruz, California. Our mission is to build a mass movement of compassion for animals through
          investigation, storytelling, and open rescue.
        </p>

        <h2 className="text-2xl font-semibold text-[var(--color-primary-dark)]">Use of the Site</h2>
        <p>
          You agree to use our sites only for lawful purposes. You agree not to attempt to disrupt or
          interfere with the sites, circumvent security, harvest data, or use the sites to harass,
          threaten, or defraud others.
        </p>

        <h2 className="text-2xl font-semibold text-[var(--color-primary-dark)]">Donations</h2>
        <p>
          Donations made to Simple Heart are tax-deductible to the fullest extent permitted by law. Unless
          otherwise specified, donations are unrestricted and support our general programs. Donations are
          non-refundable except where required by law or at our sole discretion in the case of a
          demonstrated processing error.
        </p>

        <h2 className="text-2xl font-semibold text-[var(--color-primary-dark)]">Communications</h2>
        <p>
          By providing your email address or phone number, you consent to receive communications from
          Simple Heart. You can opt out at any time. See our{" "}
          <a href="/privacy" className="text-[var(--color-accent)] underline">Privacy Policy</a> for
          details.
        </p>

        <h2 className="text-2xl font-semibold text-[var(--color-primary-dark)]">Intellectual Property</h2>
        <p>
          The content on our sites — text, photos, videos, and graphics — is owned by Simple Heart or
          used with permission, and is protected by copyright and other laws. You may share and link to
          our content with attribution, but you may not reproduce it commercially without written
          permission.
        </p>

        <h2 className="text-2xl font-semibold text-[var(--color-primary-dark)]">Third-Party Links</h2>
        <p>
          Our sites link to third-party websites, including blog.simpleheart.org and savethedogs.io.
          We are not responsible for the content or practices of sites we do not control.
        </p>

        <h2 className="text-2xl font-semibold text-[var(--color-primary-dark)]">Disclaimers</h2>
        <p>
          Our sites and content are provided &ldquo;as is&rdquo; without warranties of any kind. To the
          fullest extent permitted by law, Simple Heart disclaims all warranties, express or implied. We
          do not warrant that the site will be uninterrupted, error-free, or free of harmful components.
        </p>

        <h2 className="text-2xl font-semibold text-[var(--color-primary-dark)]">Limitation of Liability</h2>
        <p>
          To the fullest extent permitted by law, Simple Heart and its directors, officers, employees,
          and volunteers will not be liable for any indirect, incidental, special, consequential, or
          punitive damages arising from your use of the sites.
        </p>

        <h2 className="text-2xl font-semibold text-[var(--color-primary-dark)]">Governing Law</h2>
        <p>
          These Terms are governed by the laws of the State of California, without regard to its
          conflict-of-laws principles.
        </p>

        <h2 className="text-2xl font-semibold text-[var(--color-primary-dark)]">Changes</h2>
        <p>
          We may update these Terms from time to time. We will post the revised Terms here with a new
          &ldquo;Last updated&rdquo; date. Continued use of the sites after changes constitutes
          acceptance.
        </p>

        <h2 className="text-2xl font-semibold text-[var(--color-primary-dark)]">Contact</h2>
        <p>
          The Simple Heart Initiative, Santa Cruz, California.{" "}
          <a href="mailto:info@simpleheart.org" className="text-[var(--color-accent)] underline">
            info@simpleheart.org
          </a>
        </p>
      </section>
    </article>
  );
}
