<script lang="ts">
	import ContentContainer from '$lib/components/layout/ContentContainer.svelte';
	import PublicBackLink from '$lib/components/PublicBackLink.svelte';
</script>

<svelte:head>
	<title>Terms of Use - Nexus</title>
	<meta
		name="description"
		content="Terms of Use for Nexus Cleaning Solutions services and web application."
	/>
</svelte:head>

<!-- Hero Section -->
<section class="py-20 md:py-28">
	<ContentContainer>
		<PublicBackLink class="mb-6" />
		<div class="max-w-3xl">
			<h1 class="text-4xl font-bold tracking-tight text-theme md:text-5xl">Terms of Use</h1>
			<p class="mt-6 text-lg text-theme-secondary">Last updated: December 2024</p>
		</div>
	</ContentContainer>
</section>

<!-- Content Section -->
<section class="pb-20">
	<ContentContainer>
		<div class="prose prose-lg max-w-3xl dark:prose-invert">
			<h2 class="text-2xl font-bold text-theme">Welcome</h2>
			<p class="text-theme-secondary">
				These Terms of Use govern your use of Nexus, the business management platform operated by
				Nexus Cleaning Solutions. By using Nexus, you agree to these terms. If you don't agree,
				please don't use the platform.
			</p>

			<h2 class="mt-10 text-2xl font-bold text-theme">Who We Are</h2>
			<p class="text-theme-secondary">
				Nexus Cleaning Solutions is a commercial cleaning company based in Macomb County,
				Michigan. We provide janitorial services, floor care, and specialty cleaning for businesses
				throughout Southeast Michigan.
			</p>

			<h2 class="mt-10 text-2xl font-bold text-theme">Using Nexus</h2>

			<h3 class="mt-6 text-xl font-semibold text-theme">Accounts</h3>
			<p class="text-theme-secondary">To access Nexus, you need an account. When you create one:</p>
			<ul class="list-disc space-y-2 pl-6 text-theme-secondary">
				<li>Provide accurate information</li>
				<li>Keep your login credentials secure</li>
				<li>Let us know right away if you suspect unauthorized access</li>
				<li>You're responsible for all activity under your account</li>
			</ul>

			<h3 class="mt-6 text-xl font-semibold text-theme">What You Can Do</h3>
			<ul class="list-disc space-y-2 pl-6 text-theme-secondary">
				<li>View your service schedules and history</li>
				<li>Access and download invoices</li>
				<li>Communicate with our team</li>
				<li>Manage your account information</li>
				<li>Upload photos or documents related to your services</li>
			</ul>

			<h3 class="mt-6 text-xl font-semibold text-theme">What You Shouldn't Do</h3>
			<ul class="list-disc space-y-2 pl-6 text-theme-secondary">
				<li>Share your account with others</li>
				<li>Try to access accounts or data that isn't yours</li>
				<li>Use the Service for anything illegal</li>
				<li>Attempt to disrupt or interfere with the Service</li>
				<li>Upload malicious files or content</li>
			</ul>

			<h2 class="mt-10 text-2xl font-bold text-theme">Your Content</h2>
			<p class="text-theme-secondary">
				When you upload photos, documents, or other content to Nexus:
			</p>
			<ul class="list-disc space-y-2 pl-6 text-theme-secondary">
				<li>You keep ownership of your content</li>
				<li>
					You give us permission to use it as needed to provide our services (for example, sharing
					photos with our team to document completed work)
				</li>
				<li>
					Make sure you have the right to share anything you upload (don't upload content that
					belongs to someone else without permission)
				</li>
			</ul>

			<h2 class="mt-10 text-2xl font-bold text-theme">Platform Ownership</h2>
			<p class="text-theme-secondary">
				The Nexus platform—including its design, software, code, and user interface—is owned by
				Corellon Digital and licensed to Nexus Cleaning Solutions for business operations.
				Nexus branding, service content, and customer data are owned by Nexus Cleaning
				Solutions. You can use the platform to interact with our services, but you can't copy,
				modify, or distribute any part of it without permission.
			</p>

			<h2 class="mt-10 text-2xl font-bold text-theme">Platform Availability</h2>
			<p class="text-theme-secondary">
				We do our best to keep Nexus running smoothly, but we can't promise it will be available
				100% of the time. Sometimes we need to perform maintenance or updates. We're not responsible
				for any issues if the platform is temporarily unavailable.
			</p>

			<h2 class="mt-10 text-2xl font-bold text-theme">Cleaning Services</h2>
			<p class="text-theme-secondary">
				Nexus helps you manage your relationship with us, but the actual cleaning services are
				governed by your service agreement with Nexus Cleaning Solutions. If there's ever a
				conflict between these Terms and your service agreement, the service agreement wins.
			</p>

			<h2 class="mt-10 text-2xl font-bold text-theme">Limitation of Liability</h2>
			<p class="text-theme-secondary">
				Nexus is provided "as is." While we work hard to keep things running well, we can't
				guarantee everything will be perfect. To the extent allowed by law, we're not liable for:
			</p>
			<ul class="list-disc space-y-2 pl-6 text-theme-secondary">
				<li>Lost data or content</li>
				<li>Service interruptions</li>
				<li>Indirect or consequential damages</li>
				<li>Issues caused by third-party services we integrate with</li>
			</ul>

			<h2 class="mt-10 text-2xl font-bold text-theme">Changes to These Terms</h2>
			<p class="text-theme-secondary">
				We may update these Terms from time to time. If we make significant changes, we'll let you
				know through Nexus or by email. Continuing to use the platform after changes take effect
				means you accept the updated Terms.
			</p>

			<h2 class="mt-10 text-2xl font-bold text-theme">Termination</h2>
			<p class="text-theme-secondary">
				You can stop using Nexus at any time. We can also suspend or terminate your access if you
				violate these Terms or if we need to for legal or security reasons. If your account is
				terminated, you may lose access to your data in Nexus.
			</p>

			<h2 class="mt-10 text-2xl font-bold text-theme">Governing Law</h2>
			<p class="text-theme-secondary">
				These Terms are governed by the laws of the State of Michigan. Any disputes will be resolved
				in the courts of Macomb County, Michigan.
			</p>

			<h2 class="mt-10 text-2xl font-bold text-theme">Contact Us</h2>
			<p class="text-theme-secondary">Have questions about these Terms? Get in touch:</p>
			<ul class="list-none space-y-2 pl-0 text-theme-secondary">
				<li>
					<strong>Email:</strong>
					<a
						href="mailto:service@nexusclean.net"
						class="text-primary-600 hover:underline dark:text-primary-400"
					>
						service@nexusclean.net
					</a>
				</li>
				<li>
					<strong>Phone:</strong>
					<a href="tel:+15864058925" class="text-primary-600 hover:underline dark:text-primary-400">
						(586) 405-8925
					</a>
				</li>
			</ul>
		</div>
	</ContentContainer>
</section>
