import SiteLayout from "@/pages/components/SiteLayout";
import Link from "next/link";

const s = {
  main: {
    maxWidth: "780px",
    margin: "0 auto",
    padding: "56px 32px 80px",
  } as React.CSSProperties,
  eyebrow: {
    display: "block",
    fontSize: "0.78rem",
    fontWeight: 700,
    letterSpacing: "0.14em",
    textTransform: "uppercase" as const,
    color: "#c0392b",
    marginBottom: "12px",
  } as React.CSSProperties,
  h1: {
    fontFamily: "'Georgia', 'Times New Roman', serif",
    fontSize: "clamp(2rem, 5vw, 2.8rem)",
    fontWeight: 700,
    color: "#e8dcc8",
    marginBottom: "8px",
    lineHeight: 1.2,
  } as React.CSSProperties,
  updated: {
    fontSize: "0.85rem",
    color: "#9e9080",
    marginBottom: "48px",
    paddingBottom: "32px",
    borderBottom: "1px solid rgba(232,220,200,0.1)",
  } as React.CSSProperties,
  h2: {
    fontFamily: "'Georgia', 'Times New Roman', serif",
    fontSize: "1.35rem",
    fontWeight: 700,
    color: "#e8dcc8",
    marginTop: "40px",
    marginBottom: "12px",
  } as React.CSSProperties,
  p: {
    fontSize: "0.95rem",
    color: "#c8bfae",
    marginBottom: "14px",
  } as React.CSSProperties,
  ul: {
    paddingLeft: "20px",
    marginBottom: "14px",
  } as React.CSSProperties,
  li: {
    fontSize: "0.95rem",
    color: "#c8bfae",
    marginBottom: "6px",
  } as React.CSSProperties,
  a: {
    color: "#c0392b",
    textDecoration: "underline",
  } as React.CSSProperties,
};

export default function Terms() {
  return (
    <SiteLayout
      title="Terms & Conditions"
      description="Terms and Conditions for Bone Lord Bob — your rights and responsibilities when using this site."
      keywords="Bone Lord Bob, terms and conditions, terms of use, legal, American Anime"
    >
      <main style={s.main}>
        <span style={s.eyebrow}>Legal</span>
        <h1 style={s.h1}>Terms &amp; Conditions</h1>
        <p style={s.updated}>Last updated: April 2026</p>

        <p style={s.p}>
          Please read these Terms &amp; Conditions (&quot;Terms&quot;) carefully
          before using <strong>www.bonelordbob.com</strong> (the &quot;Site&quot;),
          operated by Mathison Projects Inc. (&quot;we&quot;, &quot;us&quot;,
          &quot;our&quot;). By accessing or using the Site, you agree to be
          bound by these Terms.
        </p>

        <h2 style={s.h2}>1. Acceptance of Terms</h2>
        <p style={s.p}>
          By accessing this Site, you confirm that you are at least 13 years of
          age (or the minimum legal age in your jurisdiction) and agree to these
          Terms. If you do not agree, please do not use the Site.
        </p>
        <p style={s.p}>
          We reserve the right to update these Terms at any time. Changes will
          be effective upon posting to this page with a revised &quot;Last
          updated&quot; date. Continued use of the Site after changes
          constitutes acceptance of the new Terms.
        </p>

        <h2 style={s.h2}>2. Intellectual Property</h2>
        <p style={s.p}>
          All content on this Site — including but not limited to text, artwork,
          logos, character designs, animations, names, slogans, and the &quot;Bone
          Lord Bob&quot; brand — is the exclusive property of{" "}
          <strong>Mathison Projects Inc.</strong> and is protected by United
          States and international copyright, trademark, and other intellectual
          property laws.
        </p>
        <p style={s.p}>
          © {new Date().getFullYear()} Mathison Projects Inc. All rights
          reserved.
        </p>
        <p style={s.p}>
          You may not reproduce, distribute, modify, create derivative works
          from, publicly display, or commercially exploit any content from this
          Site without our prior written permission.
        </p>

        <h2 style={s.h2}>3. Permitted Use</h2>
        <p style={s.p}>
          You may access and view the Site for personal, non-commercial purposes.
          You may share links to the Site on social media or other platforms,
          provided you do not misrepresent the content or the Bone Lord Bob
          brand.
        </p>
        <p style={s.p}>You may not:</p>
        <ul style={s.ul}>
          <li style={s.li}>
            Use the Site for any unlawful purpose or in violation of any
            applicable laws or regulations
          </li>
          <li style={s.li}>
            Scrape, data-mine, or systematically extract content from the Site
            without permission
          </li>
          <li style={s.li}>
            Attempt to gain unauthorized access to any part of the Site or its
            related systems
          </li>
          <li style={s.li}>
            Impersonate Bone Lord Bob, Mathison Projects Inc., or any of their
            representatives
          </li>
          <li style={s.li}>
            Use our trademarks or brand assets without written authorization
          </li>
        </ul>

        <h2 style={s.h2}>4. User Conduct</h2>
        <p style={s.p}>
          When interacting with us via email or social media, you agree not to
          send harassing, abusive, defamatory, obscene, or threatening content.
          We reserve the right to block users who violate this policy.
        </p>

        <h2 style={s.h2}>5. Third-Party Links</h2>
        <p style={s.p}>
          The Site contains links to third-party platforms (YouTube, Instagram, X,
          Facebook, Patreon, TikTok). These links are provided for convenience.
          We have no control over the content or practices of these platforms
          and are not responsible for their content, privacy policies, or terms
          of service.
        </p>

        <h2 style={s.h2}>6. Disclaimers</h2>
        <p style={s.p}>
          THE SITE AND ALL CONTENT ARE PROVIDED &quot;AS IS&quot; AND &quot;AS
          AVAILABLE&quot; WITHOUT WARRANTIES OF ANY KIND, EXPRESS OR IMPLIED,
          INCLUDING BUT NOT LIMITED TO WARRANTIES OF MERCHANTABILITY, FITNESS
          FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT.
        </p>
        <p style={s.p}>
          We do not warrant that the Site will be uninterrupted, error-free, or
          free of viruses or other harmful components. We may modify, suspend,
          or discontinue the Site at any time without notice.
        </p>

        <h2 style={s.h2}>7. Limitation of Liability</h2>
        <p style={s.p}>
          TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, MATHISON PROJECTS
          INC. AND ITS OFFICERS, DIRECTORS, EMPLOYEES, AND AGENTS SHALL NOT BE
          LIABLE FOR ANY INDIRECT, INCIDENTAL, SPECIAL, CONSEQUENTIAL, OR
          PUNITIVE DAMAGES ARISING FROM YOUR USE OF (OR INABILITY TO USE) THE
          SITE, EVEN IF WE HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
        </p>
        <p style={s.p}>
          OUR TOTAL LIABILITY TO YOU FOR ANY CLAIM ARISING FROM THESE TERMS OR
          YOUR USE OF THE SITE SHALL NOT EXCEED $100 USD.
        </p>

        <h2 style={s.h2}>8. Governing Law</h2>
        <p style={s.p}>
          These Terms are governed by and construed in accordance with the laws
          of the State of <strong>Nebraska, United States of America</strong>,
          without regard to its conflict of law principles. Any disputes arising
          from these Terms or your use of the Site shall be resolved exclusively
          in the courts located in Douglas County, Nebraska.
        </p>

        <h2 style={s.h2}>9. Severability</h2>
        <p style={s.p}>
          If any provision of these Terms is found to be unenforceable or
          invalid, that provision will be limited or eliminated to the minimum
          extent necessary, and the remaining provisions will continue in full
          force and effect.
        </p>

        <h2 style={s.h2}>10. Contact</h2>
        <p style={s.p}>For questions about these Terms, contact:</p>
        <p style={s.p}>
          <strong>Mathison Projects Inc.</strong>
          <br />
          Email:{" "}
          <a href="mailto:hello@bonelordbob.com" style={s.a}>
            hello@bonelordbob.com
          </a>
          <br />
          Website:{" "}
          <a href="https://www.bonelordbob.com" target="_blank" rel="noopener noreferrer" style={s.a}>
            www.bonelordbob.com
          </a>
        </p>

        <p style={{ ...s.p, marginTop: "40px" }}>
          <Link href="/privacy" style={s.a}>Privacy Policy</Link>
          {" "}·{" "}
          <Link href="/" style={s.a}>Back to Home</Link>
        </p>
      </main>
    </SiteLayout>
  );
}
