<script lang="ts">
</script>

<div class="legal-page">
	<h1>Terms of Service</h1>
	<p class="last-updated">Last updated: December 2024</p>

	<section>
		<h2>1. Acceptance of Terms</h2>
		<p>By accessing or using Mind ("the Software"), you agree to be bound by these Terms of Service. If you do not agree to these terms, please do not use the Software.</p>
	</section>

	<section>
		<h2>2. Description of Service</h2>
		<p>Mind is a file-based memory system for AI coding assistants. It provides persistent memory across coding sessions by storing data locally in your project's <code>.mind/</code> directory. The Software is designed to integrate with AI tools via the Model Context Protocol (MCP).</p>
	</section>

	<section>
		<h2>3. License</h2>
		<p>Mind is open source software licensed under the <strong>Apache License 2.0</strong>. You are free to use, modify, and distribute the Software in accordance with the terms of the Apache 2.0 license. A copy of the license is available in the project repository.</p>
	</section>

	<section>
		<h2>4. Your Data and Privacy</h2>
		<p>All data created by Mind is stored locally on your machine. We do not collect, transmit, store, or have access to your project data, memories, decisions, or any content you create with Mind. You retain full ownership and control of your data at all times.</p>
	</section>

	<section>
		<h2>5. User Responsibilities</h2>
		<p>You are responsible for:</p>
		<ul>
			<li>Backing up your own data, including the <code>.mind/</code> directory</li>
			<li>Ensuring your use of the Software complies with applicable laws</li>
			<li>Any content you store using the Software</li>
			<li>Maintaining the security of your local environment</li>
		</ul>
	</section>

	<section>
		<h2>6. Third-Party Integrations</h2>
		<p>Mind is designed to work with AI coding assistants such as Claude Code. Your use of these third-party services is governed by their respective terms and privacy policies. We are not responsible for the practices of third-party services.</p>
	</section>

	<section>
		<h2>7. Disclaimer of Warranties</h2>
		<p>THE SOFTWARE IS PROVIDED "AS IS" AND "AS AVAILABLE" WITHOUT WARRANTIES OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT. WE DO NOT WARRANT THAT THE SOFTWARE WILL BE UNINTERRUPTED, ERROR-FREE, OR SECURE.</p>
	</section>

	<section>
		<h2>8. Limitation of Liability</h2>
		<p>TO THE MAXIMUM EXTENT PERMITTED BY LAW, IN NO EVENT SHALL THE AUTHORS, COPYRIGHT HOLDERS, OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES ARISING OUT OF OR IN CONNECTION WITH THE USE OF THE SOFTWARE.</p>
	</section>

	<section>
		<h2>9. Indemnification</h2>
		<p>You agree to indemnify and hold harmless the authors and contributors from any claims, damages, or expenses arising from your use of the Software or violation of these terms.</p>
	</section>

	<section>
		<h2>10. Modifications to Terms</h2>
		<p>We reserve the right to modify these terms at any time. Changes will be posted on this page with an updated revision date. Your continued use of the Software after changes constitutes acceptance of the modified terms.</p>
	</section>

	<section>
		<h2>11. Governing Law</h2>
		<p>These terms shall be governed by and construed in accordance with applicable laws, without regard to conflict of law principles.</p>
	</section>

	<section>
		<h2>12. Contact</h2>
		<p>For questions about these terms, please open an issue on our <a href="https://github.com/vibeforge1111/vibeship-mind" target="_blank">GitHub repository</a> or contact us at <a href="https://x.com/vibeshipco" target="_blank">@vibeshipco</a>.</p>
	</section>
</div>

<style>
	.legal-page {
		max-width: 700px;
		margin: 0 auto;
		padding: var(--space-8) var(--space-4);
	}

	h1 {
		font-size: var(--text-3xl);
		margin-bottom: var(--space-2);
	}

	.last-updated {
		color: var(--text-tertiary);
		font-size: var(--text-sm);
		margin-bottom: var(--space-8);
	}

	section {
		margin-bottom: var(--space-6);
	}

	h2 {
		font-size: var(--text-lg);
		margin-bottom: var(--space-2);
		color: var(--text-primary);
	}

	p {
		color: var(--text-secondary);
		line-height: 1.6;
	}

	ul {
		color: var(--text-secondary);
		line-height: 1.6;
		margin-top: var(--space-2);
		padding-left: var(--space-6);
	}

	li {
		margin-bottom: var(--space-1);
	}

	code {
		background: var(--bg-secondary);
		padding: 0.1em 0.3em;
		border-radius: 3px;
		font-size: 0.9em;
	}

	strong {
		color: var(--text-primary);
	}

	a {
		color: var(--green-dim);
	}

	a:hover {
		text-decoration: underline;
	}
</style>
