/* ============= Legal pages ============= */

const PrivacyPage = () => (
  <div className="page">
    <div className="legal pxl-box">
      <h1>PRIVACY POLICY</h1>
      <div className="meta">EFFECTIVE: 04/12/2026 · VERSION 3.1 · WARDROBEFORGE</div>

      <hr className="pxl-hr" />

      <h2>1. INTRODUCTION</h2>
      <p>
        WardrobeForge ("WardrobeForge," "we," "us," or "our") respects your privacy and is committed to
        protecting it through this Privacy Policy ("Policy"). This Policy describes the types of information we may
        collect from you or that you may provide when you visit the website wardrobeforge.app (the "Site"), our
        affiliated mobile applications, our virtual try-on experience ("VTO Services"), and our blockchain-linked
        NFT marketplace and virtual item services (collectively, the "Services"), and our practices for collecting, using, maintaining,
        protecting, and disclosing that information.
      </p>
      <p>
        By accessing or using the Services, you agree to this Policy. If you do not agree with our policies and
        practices, you must not use the Services.
      </p>

      <h2>2. INFORMATION WE COLLECT</h2>
      <h3>2.1 Information You Provide</h3>
      <ul>
        <li>Account information, such as your display name, username, email address, and any profile details you choose to provide.</li>
        <li>Payment information processed by our PCI-DSS compliant payment processors. We do not store full payment card numbers.</li>
        <li>Public wallet addresses you connect to the Services for the purpose of minting, transferring, or displaying NFTs.</li>
        <li>Avatar configuration data, including selected skins, equipped items, and saved looks.</li>
        <li>User-generated content, including any imagery you upload to the VTO Services for body-measurement estimation.</li>
      </ul>
      <h3>2.2 Information Collected Automatically</h3>
      <ul>
        <li>Device, browser, and operating system identifiers.</li>
        <li>IP address and approximate geolocation derived therefrom.</li>
        <li>Interaction telemetry, including page views, click events, and session duration.</li>
        <li>On-chain transactions associated with wallets you have connected, which are inherently public.</li>
      </ul>

      <h2>3. HOW WE USE YOUR INFORMATION</h2>
      <p>We use information that we collect about you or that you provide to us, including any personal information:</p>
      <ul>
        <li>To present the Services and their contents to you and operate your account, wallet connections, and marketplace activity.</li>
        <li>To mint, transfer, display, and verify ownership of NFTs and virtual items associated with your account or wallet.</li>
        <li>To award, calculate, and apply VTO Points (including the one-hundred (100) point credit per qualifying NFT mint).</li>
        <li>To detect fraud, abuse, unauthorized activity, and marketplace policy violations.</li>
        <li>To improve our Services and develop new features, including AI-driven try-on rendering.</li>
        <li>To comply with legal obligations and to enforce our Terms of Service.</li>
      </ul>

      <h2>4. DISCLOSURE OF YOUR INFORMATION</h2>
      <p>We may disclose aggregated information about our users without restriction. We may disclose personal information that we collect or you provide as described in this Policy:</p>
      <ul>
        <li>To our subsidiaries and affiliates.</li>
        <li>To contractors, service providers, and other third parties we use to support our business and who are bound by contractual obligations to keep personal information confidential.</li>
        <li>To a buyer or other successor in the event of a merger, divestiture, restructuring, reorganization, dissolution, or other sale or transfer of some or all of WardrobeForge's assets.</li>
        <li>To comply with any court order, law, or legal process, including responding to any government or regulatory request.</li>
      </ul>

      <h2>5. BLOCKCHAIN AND ON-CHAIN DATA</h2>
      <p>
        You acknowledge that information written to a public blockchain — including wallet addresses, NFT token IDs,
        transfer events, and metadata URIs — is, by its nature, public, immutable, and not subject to deletion. We
        cannot remove on-chain records on your behalf. Off-chain metadata pointers maintained by WardrobeForge may be
        updated in accordance with your data rights described in Section 7.
      </p>

      <h2>6. DATA SECURITY</h2>
      <p>
        We have implemented measures designed to secure your personal information from accidental loss and from
        unauthorized access, use, alteration, and disclosure, including encryption-in-transit (TLS 1.3) and
        encryption-at-rest (AES-256) where applicable. However, the transmission of information via the internet is
        not completely secure. Any transmission of personal information is at your own risk.
      </p>

      <h2>7. YOUR DATA RIGHTS</h2>
      <p>
        Depending on your jurisdiction (including under the GDPR, UK GDPR, CCPA, and CPRA), you may have the right to
        access, correct, port, or delete the personal information we hold about you, and to object to or restrict
        certain processing. To exercise these rights, contact us at privacy@wardrobeforge.app. We will respond within
        the time period required by applicable law.
      </p>

      <h2>8. CHILDREN UNDER THE AGE OF 13</h2>
      <p>
        Our Services are not intended for children under thirteen (13) years of age. No one under age 13 may provide
        any personal information to or on the Services.
      </p>

      <h2>9. CHANGES TO OUR PRIVACY POLICY</h2>
      <p>
        It is our policy to post any changes we make to our Policy on this page. The date the Policy was last revised
        is identified at the top of the page. Your continued use of the Services following such changes constitutes
        your acceptance.
      </p>

      <h2>10. CONTACT</h2>
      <p>
        WardrobeForge LLC<br />
        1309 Coffeen Avenue<br />
        Sheridan, Suite 1200<br />
        Wyoming, 82801<br />
        info@wardrobeforge.com
      </p>
    </div>
  </div>
);

const ContactPage = () => (
  <div className="page">
    <div className="legal contact-page pxl-box">
      <h1>CONTACT</h1>
      <div className="meta">WARDROBEFORGE SUPPORT · GENERAL INQUIRIES · RESPONSE CHANNELS</div>

      <hr className="pxl-hr" />

      <p>
        Need to reach WardrobeForge? Use the contact details below for direct support, billing questions,
        partnership conversations, or general account help.
      </p>

      <div className="contact-grid">
        <div className="contact-card">
          <h2>EMAIL</h2>
          <p><a href="mailto:info@wardrobeforge.com">info@wardrobeforge.com</a></p>
        </div>

        <div className="contact-card">
          <h2>PHONE</h2>
          <p><a href="tel:+16066719009">+1 (606) 671-9009</a></p>
        </div>
      </div>

      <h2>GENERAL INQUIRIES</h2>
      <p>For general inquiries, please use our contact form here:</p>
      <p>
        <a href="https://wardrobeforge.com/contact" target="_blank" rel="noreferrer">
          https://wardrobeforge.com/contact
        </a>
      </p>
    </div>
  </div>
);

const TermsPage = () => (
  <div className="page">
    <div className="legal pxl-box">
      <h1>TERMS OF SERVICE</h1>
      <div className="meta">EFFECTIVE: 04/12/2026 · VERSION 3.1 · PLEASE READ CAREFULLY</div>

      <hr className="pxl-hr" />

      <h2>1. ACCEPTANCE OF TERMS</h2>
      <p>
        These Terms of Service ("Terms") form a binding agreement between you ("User," "you") and WardrobeForge
        ("WardrobeForge," "we," "us") governing your access to and use of the WardrobeForge website, applications,
        VTO Services, and NFT marketplace offerings (collectively, the "Services"). By accessing the Services, you
        represent that you are at least eighteen (18) years of age, or the age of majority in your jurisdiction,
        whichever is greater.
      </p>

      <h2>2. THE WARDROBEFORGE PROTOCOL</h2>
      <h3>2.1 NFTs and Virtual Items</h3>
      <p>
        WardrobeForge offers blockchain-based non-fungible tokens ("NFTs") and virtual wearable items for use within
        our Services. NFTs may be minted to a blockchain address you control and may represent digital collectibles,
        in-platform utility, avatar wearables, or a one-time award of one hundred (100) points ("VTO Points") in our
        virtual try-on application.
      </p>
      <h3>2.2 Random Allocation</h3>
      <p>
        The specific virtual relic granted by a Digital Twin is allocated by a verifiable randomness function.
        WardrobeForge makes no representation that any particular relic, rarity tier, or aesthetic outcome will be
        produced by a given mint.
      </p>

      <h2>3. USER ACCOUNTS</h2>
      <p>
        You agree to provide accurate information during account creation and to maintain the confidentiality of your
        login credentials and any private keys associated with wallets you connect to the Services. You are solely
        responsible for any activity occurring under your account or wallet.
      </p>

      <h2>4. PAYMENTS, DIGITAL DELIVERY, AND FINALITY</h2>
      <ul>
        <li>Prices for NFTs, virtual items, and related Services may be listed in U.S. dollars, cryptocurrency, or both, exclusive of applicable taxes and blockchain network fees.</li>
        <li>Digital delivery is completed when the applicable NFT or virtual item is made available in your WardrobeForge account, connected wallet, or both.</li>
        <li>You are solely responsible for providing and maintaining an accurate wallet address and compatible wallet access. Transactions sent to an incorrect wallet address may be irreversible.</li>
        <li>Unless otherwise required by law or expressly stated by WardrobeForge, purchases of NFTs and virtual items are final and non-refundable.</li>
        <li>VTO Points awarded for a reversed, refunded, or disputed transaction are subject to claw-back.</li>
      </ul>

      <h2>5. INTELLECTUAL PROPERTY</h2>
      <p>
        WardrobeForge retains all right, title, and interest in and to the Services, the WardrobeForge mark, the
        underlying pixel-art aesthetic, and the metadata schema for its NFTs and virtual items. Subject to your continued ownership
        of the corresponding NFT, WardrobeForge grants you a worldwide, non-exclusive, royalty-free license
        to display, copy, and use the associated artwork (a) for personal, non-commercial purposes, and (b) for commercial
        use generating less than one hundred thousand U.S. dollars (USD $100,000) in gross revenue per year.
      </p>

      <h2>6. PROHIBITED CONDUCT</h2>
      <ul>
        <li>You shall not mint, replicate, or distribute unauthorized NFTs or virtual items purporting to originate from WardrobeForge.</li>
        <li>You shall not use the Services to engage in money laundering, sanctioned activity, or any unlawful purpose.</li>
        <li>You shall not attempt to interfere with the integrity of the randomness function or the on-chain mint pipeline.</li>
        <li>You shall not scrape, mirror, or rebuild the Services in a manner that creates a competing product.</li>
      </ul>

      <h2>7. ASSUMPTION OF RISK</h2>
      <p>
        You acknowledge that blockchain technology is nascent and subject to volatility, regulatory uncertainty, and
        irreversible transactions. WardrobeForge is not responsible for losses resulting from network congestion,
        consensus failure, smart contract exploit, or your own loss of private keys.
      </p>

      <h2>8. DISCLAIMER OF WARRANTIES</h2>
      <p style={{ textTransform: 'uppercase', fontSize: 16 }}>
        The services are provided on an "as is" and "as available" basis. WardrobeForge expressly disclaims all
        warranties, whether express, implied, statutory or otherwise, including all warranties of merchantability,
        fitness for a particular purpose, and non-infringement.
      </p>

      <h2>9. LIMITATION OF LIABILITY</h2>
      <p>
        To the maximum extent permitted by law, WardrobeForge's aggregate liability arising out of or relating to the
        Services shall not exceed the greater of (a) the amount you paid to WardrobeForge in the twelve (12) months
        preceding the claim, or (b) one hundred U.S. dollars (USD $100).
      </p>

      <h2>10. GOVERNING LAW; DISPUTE RESOLUTION</h2>
      <p>
        These Terms are governed by the laws of the State of Delaware, without regard to its conflict-of-laws rules.
        Any dispute arising hereunder shall be resolved by binding arbitration administered by JAMS in San Francisco,
        California, except that either party may seek injunctive relief in court for intellectual property claims.
      </p>

      <h2>11. CONTACT</h2>
      <p>
        Questions about these Terms should be sent to legal@wardrobeforge.app.
      </p>
    </div>
  </div>
);

window.ContactPage = ContactPage;
window.PrivacyPage = PrivacyPage;
window.TermsPage = TermsPage;
