import type { Metadata } from 'next';

export const metadata: Metadata = {
  title: 'Terms of Service',
  description: 'Terms of service for Hamton Brown CPA. Read our terms and conditions for using our website and services.',
};

export default function TermsPage() {
  return (
    <div className="bg-sand py-24 sm:py-32">
      <div className="mx-auto max-w-4xl px-6 lg:px-8">
        <div className="mx-auto max-w-2xl">
          <h1 className="text-3xl font-bold tracking-tight text-ink sm:text-4xl">
            Terms of Service
          </h1>
          <p className="mt-6 text-lg leading-8 text-slate">
            Last updated: {new Date().toLocaleDateString('en-US', { year: 'numeric', month: 'long', day: 'numeric' })}
          </p>
          
          <div className="prose prose-lg mt-12">
            <h2>Agreement to Terms</h2>
            <p>
              By accessing and using the website and services of Hamton Brown CPA ("we," "our," or "us"), you accept and agree to be bound by the terms and provision of this agreement. If you do not agree to abide by the above, please do not use this service.
            </p>

            <h2>Description of Services</h2>
            <p>
              Hamton Brown CPA provides professional tax preparation, tax planning, financial planning, and business advisory services. Our services include but are not limited to:
            </p>
            <ul>
              <li>Individual and business tax return preparation</li>
              <li>Tax planning and strategy development</li>
              <li>Estate tax planning</li>
              <li>Financial planning and advisory</li>
              <li>Business consulting services</li>
            </ul>

            <h2>Use License</h2>
            <p>
              Permission is granted to temporarily download one copy of the materials (information or software) on Hamton Brown CPA's website for personal, non-commercial transitory viewing only. This is the grant of a license, not a transfer of title, and under this license you may not:
            </p>
            <ul>
              <li>Modify or copy the materials</li>
              <li>Use the materials for any commercial purpose or for any public display</li>
              <li>Attempt to reverse engineer any software contained on the website</li>
              <li>Remove any copyright or other proprietary notations from the materials</li>
              <li>Transfer the materials to another person or "mirror" the materials on any other server</li>
            </ul>

            <h2>Client Responsibilities</h2>
            <p>As a client, you agree to:</p>
            <ul>
              <li>Provide accurate and complete information</li>
              <li>Respond promptly to our requests for additional information</li>
              <li>Review and approve all work before filing</li>
              <li>Pay fees in accordance with our pricing schedule</li>
              <li>Maintain the confidentiality of your account information</li>
            </ul>

            <h2>Professional Standards</h2>
            <p>
              We are committed to maintaining the highest professional standards in accordance with:
            </p>
            <ul>
              <li>American Institute of Certified Public Accountants (AICPA) Code of Professional Conduct</li>
              <li>Internal Revenue Service (IRS) Circular 230</li>
              <li>State board of accountancy regulations</li>
              <li>Applicable federal and state laws and regulations</li>
            </ul>

            <h2>Limitation of Liability</h2>
            <p>
              In no event shall Hamton Brown CPA or its suppliers be liable for any damages (including, without limitation, damages for loss of data or profit, or due to business interruption) arising out of the use or inability to use the materials on our website, even if we or our authorized representative has been notified orally or in writing of the possibility of such damage.
            </p>

            <h2>Disclaimer</h2>
            <p>
              The materials on Hamton Brown CPA's website are provided on an 'as is' basis. We make no warranties, expressed or implied, and hereby disclaim and negate all other warranties including without limitation, implied warranties or conditions of merchantability, fitness for a particular purpose, or non-infringement of intellectual property or other violation of rights.
            </p>

            <h2>Accuracy of Materials</h2>
            <p>
              The materials appearing on Hamton Brown CPA's website could include technical, typographical, or photographic errors. We do not warrant that any of the materials on our website are accurate, complete, or current. We may make changes to the materials contained on our website at any time without notice.
            </p>

            <h2>Links</h2>
            <p>
              Hamton Brown CPA has not reviewed all of the sites linked to its website and is not responsible for the contents of any such linked site. The inclusion of any link does not imply endorsement by Hamton Brown CPA of the site. Use of any such linked website is at the user's own risk.
            </p>

            <h2>Modifications</h2>
            <p>
              We may revise these terms of service for our website at any time without notice. By using this website, you are agreeing to be bound by the then current version of these Terms of Service.
            </p>

            <h2>Governing Law</h2>
            <p>
              These terms and conditions are governed by and construed in accordance with the laws of the State of Texas and you irrevocably submit to the exclusive jurisdiction of the courts in that state or location.
            </p>

            <h2>Privacy Policy</h2>
            <p>
              Your privacy is important to us. Please review our Privacy Policy, which also governs your use of the website, to understand our practices.
            </p>

            <h2>Contact Information</h2>
            <p>
              If you have any questions about these Terms of Service, please contact us:
            </p>
            <ul>
              <li>Email: contact@hamtonbrown.com</li>
              <li>Phone: (361) 555-0123</li>
              <li>Address: 123 Business Street, Corpus Christi, TX 78401</li>
            </ul>

            <h2>Severability</h2>
            <p>
              If any provision of these Terms of Service is found to be unenforceable or invalid, that provision will be limited or eliminated to the minimum extent necessary so that the Terms of Service will otherwise remain in full force and effect and enforceable.
            </p>

            <h2>Entire Agreement</h2>
            <p>
              These Terms of Service constitute the entire agreement between you and Hamton Brown CPA regarding the use of our website and services, superseding any prior agreements between you and us relating to your use of our website or services.
            </p>
          </div>
        </div>
      </div>
    </div>
  );
}
