{% extends "framework_modern.html" %}
{% load static %}

{% block main_content %}
  <div class="mx-auto max-w-4xl px-4 py-8">
    <!-- Breadcrumbs -->
    <div class="breadcrumbs mb-4 text-sm">
      <ul>
        <li><a href="/">Home</a></li>
        <li>Terms of Use</li>
      </ul>
    </div>

    <!-- Main Content -->
    <div class="bg-base-100 rounded-lg p-8 shadow-xl">
      <h1 class="mb-6 text-4xl font-bold">Terms of Use</h1>

      <div class="prose max-w-none">
        <p class="mb-6 text-lg">
          Welcome to enviPath. enviPath is an online scientific platform
          providing (a) database content about chemical and biotransformation
          pathways and (b) prediction outputs derived from models and
          algorithms. Outputs may be incomplete and probabilistic and are
          intended for research use only.
        </p>

        <h2 class="mt-8 mb-4 text-2xl font-semibold">
          1. Acceptance and Agreement
        </h2>
        <p class="mb-4">
          These Terms of Use (the <strong>&ldquo;Terms&rdquo;</strong>) govern
          your access to and use of enviPath. By creating an account, obtaining
          or using an API key, clicking &ldquo;I agree&rdquo; (or equivalent),
          or otherwise accessing or using enviPath, you agree to be bound by
          these Terms and any policies referenced in them.
        </p>
        <p class="mb-4">
          If you do not agree, you must not access or use enviPath.
        </p>
        <p class="mb-4">
          If you are using enviPath on behalf of an organisation, you represent
          that you have authority to bind that organisation, and
          &ldquo;you&rdquo; includes that organisation.
        </p>

        <h2 class="mt-8 mb-4 text-2xl font-semibold">2. Definitions</h2>
        <p class="mb-4">In these Terms:</p>
        <ul class="mb-4 list-inside list-disc space-y-2">
          <li>
            <strong>&ldquo;Operator&rdquo;</strong> means the entity operating
            enviPath.
          </li>
          <li>
            <strong>&ldquo;enviPath&rdquo;</strong> means the enviPath platform,
            including its databases, software, prediction systems, APIs,
            documentation, and related services.
          </li>
          <li>
            <strong>&ldquo;Academic Research&rdquo;</strong> means research
            conducted primarily to generate scholarly knowledge, where:
            <ul class="mt-2 ml-6 list-disc space-y-1">
              <li>
                the results are intended for publication in a scholarly outlet
                (journal, thesis, dissertation, preprint, or equivalent);
              </li>
              <li>
                the research outputs, methods, and conclusions are made publicly
                accessible as part of that publication (subject to lawful
                confidentiality limits); and
              </li>
              <li>
                the research is not conducted for commercial advantage, private
                financial gain, or the development of proprietary products or
                services.
              </li>
            </ul>
          </li>
          <li>
            <strong>&ldquo;Commercial Use&rdquo;</strong> means any use of
            enviPath that is not Academic Research, including (without
            limitation):
            <ul class="mt-2 ml-6 list-disc space-y-1">
              <li>
                use in connection with commercial products, services, or
                consulting activities;
              </li>
              <li>
                internal research and development within a for-profit
                organisation;
              </li>
              <li>
                regulatory submissions or compliance activities conducted on
                behalf of a commercial entity;
              </li>
              <li>
                use to support fee-based services, contract research,
                commissioned research, or proprietary decision-making; or
              </li>
              <li>
                use where outputs are not made publicly available as part of a
                scholarly work (except where prevented by law or ethics).
              </li>
            </ul>
          </li>
          <li>
            <strong>&ldquo;Mixed-Use&rdquo;</strong> means a use case that
            includes both academic and commercial elements (for example,
            industry-sponsored academic research, research conducted under
            contract, or research whose results are used for internal or
            commercial decision-making).
          </li>
          <li>
            <strong>&ldquo;User Content&rdquo;</strong> means any data or
            content you submit, upload, or otherwise make available to enviPath.
          </li>
        </ul>

        <h2 class="mt-8 mb-4 text-2xl font-semibold">
          3. Eligibility, Declarations, and Account Security
        </h2>
        <p class="mb-4">
          You must provide accurate and complete information when creating an
          account or requesting API access, and keep it up to date.
        </p>
        <p class="mb-4">
          <strong>Academic-use declaration.</strong> Where required by the
          Operator during signup, API key issuance, or access renewal, you must
          confirm that your intended use qualifies as Academic Research and is
          not Commercial Use.
        </p>
        <p class="mb-4">
          You are responsible for maintaining the confidentiality of your
          credentials and API keys, and for all activity performed under your
          account or using your API keys. You must promptly notify us of any
          unauthorised use or suspected compromise.
        </p>

        <h2 class="mt-8 mb-4 text-2xl font-semibold">
          4. Permitted Use and Licence
        </h2>
        <p class="mb-4">
          Subject to these Terms, the Operator grants you a limited,
          non-exclusive, non-transferable, revocable licence to access and use
          enviPath solely for Academic Research.
        </p>
        <p class="mb-4">
          <strong>Commercial Use prohibited.</strong> All Commercial Use
          (including Mixed-Use) is prohibited unless you have entered into a
          separate written commercial licence agreement with the Operator.
        </p>
        <p class="mb-4">
          <strong>Mixed-Use presumption.</strong> Where a use involves Mixed-Use
          elements, or where results are used for internal decision-making,
          regulatory purposes, or on behalf of a third party, that use is
          presumed to be Commercial Use unless the Operator agrees otherwise in
          writing.
        </p>
        <p class="mb-4">
          If you are unsure whether your intended use is Academic Research, you
          must contact us before using enviPath. We may request additional
          information to assess your use case, and we may determine (acting
          reasonably) whether a particular use is permitted.
        </p>

        <h2 class="mt-8 mb-4 text-2xl font-semibold">5. Acceptable Use</h2>
        <p class="mb-4">
          You must use enviPath only for lawful purposes and in accordance with
          these Terms and all applicable laws.
        </p>
        <p class="mb-4">You must not, directly or indirectly:</p>
        <ul class="mb-4 list-inside list-disc space-y-2">
          <li>
            Use enviPath in a manner that is unlawful, harmful, misleading, or
            infringes any third-party rights;
          </li>
          <li>
            Attempt to circumvent, probe, or test security, access controls, or
            technical limitations;
          </li>
          <li>
            Use automated systems (including bots, scrapers, crawlers, or
            scripts) to access enviPath in a way that degrades performance,
            bypasses controls, or exceeds reasonable usage limits or published
            quotas;
          </li>
          <li>
            Systematically extract, cache, reproduce, mirror, republish, or
            redistribute substantial portions of the database or outputs,
            whether manually or through automated means, even if individual
            queries are permitted;
          </li>
          <li>
            Reverse engineer, decompile, disassemble, or otherwise attempt to
            derive source code, underlying models, parameters, algorithms, or
            proprietary data (except to the extent expressly permitted by
            non-excludable law);
          </li>
          <li>
            Use enviPath to develop, train, validate, benchmark, or improve
            competing databases, models, or commercial products without prior
            written permission;
          </li>
          <li>
            Interfere with, disrupt, or impose an unreasonable load on enviPath,
            including through high-volume or abusive query patterns;
          </li>
          <li>
            Use outputs in contexts where incorrect, incomplete, or
            probabilistic results could reasonably lead to harm without
            appropriate validation and domain expertise.
          </li>
        </ul>
        <p class="mb-4">
          We may publish technical documentation, rate limits, quotas, or usage
          rules. Those rules form part of these Terms.
        </p>

        <h2 class="mt-8 mb-4 text-2xl font-semibold">
          6. Monitoring, Logging, and Privacy
        </h2>
        <p class="mb-4">
          We may monitor, log, and analyse usage of enviPath (including API
          calls, request metadata, and account activity) to operate the service,
          ensure security, prevent abuse, enforce these Terms, comply with legal
          obligations, and improve performance and reliability.
        </p>
        <p class="mb-4">
          Our collection, use, storage, and disclosure of personal information
          is governed by our Privacy Policy, which forms part of these Terms.
          Please review our
          <a href="/privacy" class="link link-primary">Privacy Policy</a>.
        </p>
        <p class="mb-4">
          If you provide personal information about others in User Content, you
          must ensure you have the right to do so and that those individuals
          have been informed as required by applicable privacy laws.
        </p>

        <h2 class="mt-8 mb-4 text-2xl font-semibold">
          7. User-Submitted Content
        </h2>
        <p class="mb-4">
          Users may submit, upload, or otherwise make available User Content to
          enviPath. You retain ownership of your User Content.
        </p>
        <p class="mb-4">
          By submitting User Content, you grant the Operator a non-exclusive,
          worldwide, royalty-free licence to use, host, store, reproduce,
          process, adapt (including to normalise formats), and analyse that User
          Content solely to operate, maintain, secure, support, improve, and
          validate enviPath and its scientific outputs (including model
          validation and quality assurance).
        </p>
        <p class="mb-4">
          For the avoidance of doubt, any enhancements, modifications, or
          improvements to enviPath (including its models, algorithms, and
          scientific outputs) that result from or are informed by User Content
          may be implemented and made available across all licence types and
          access tiers offered by the Operator for enviPath, including
          commercial licences, provided that such use remains within and forms
          part of enviPath.
        </p>

        <p class="mb-4">
          The Operator does not sell, licence, or otherwise disclose User
          Content itself to other users or licensees. Access by commercial or
          other licensees is limited to enviPath and any improvements thereto,
          and does not include access to the underlying User Content.
        </p>

        <p class="mb-4">
          You represent and warrant that: (a) you have all necessary rights and
          consents to submit the User Content; and (b) submitting and using the
          User Content as contemplated by these Terms does not infringe any
          third-party rights or breach any obligation of confidence.
        </p>

        <p class="mb-4">
          You must not submit User Content that is unlawful, harmful,
          misleading, or infringes any third-party rights.
        </p>
        <h2 class="mt-8 mb-4 text-2xl font-semibold">
          8. Intellectual Property
        </h2>
        <p class="mb-4">
          enviPath and all associated intellectual property rights (including
          software, databases, compilations, documentation, models, algorithms,
          and trademarks) are owned by or licenced to the Operator and its
          licensors.
        </p>
        <p class="mb-4">
          Except for the limited licence granted in these Terms, no rights are
          granted to you. You must not remove or alter any proprietary notices.
        </p>
        <p class="mb-4">
          Where third-party datasets, publications, or open-source components
          are used, additional licence terms may apply. To the extent there is a
          conflict, those third-party terms prevail for the relevant component.
        </p>

        <h2 class="mt-8 mb-4 text-2xl font-semibold">
          9. Scientific Nature of Outputs
        </h2>
        <p class="mb-4">
          enviPath provides data-driven predictions, transformations, and
          scientific information that may be incomplete, probabilistic, or
          subject to error. Outputs are provided for research and informational
          purposes only and must be independently verified by suitably qualified
          users before being relied upon.
        </p>
        <p class="mb-4">
          You acknowledge enviPath is not a substitute for experimental
          validation, regulatory assessment, or professional judgment.
        </p>

        <h2 class="mt-8 mb-4 text-2xl font-semibold">10. Disclaimer</h2>
        <p class="mb-4">
          To the maximum extent permitted by law, enviPath is provided on an
          &ldquo;as is&rdquo; and &ldquo;as available&rdquo; basis. The Operator
          disclaims all warranties, representations, and conditions (express or
          implied), including implied warranties or conditions of
          merchantability, fitness for a particular purpose, accuracy,
          availability, and non-infringement.
        </p>
        <p class="mb-4">
          We do not warrant that enviPath will be uninterrupted, timely, secure,
          or error-free, or that defects will be corrected.
        </p>

        <h2 class="mt-8 mb-4 text-2xl font-semibold">
          11. Limitation of Liability
        </h2>
        <p class="mb-4">
          To the maximum extent permitted by law, the Operator (and its
          contributors, suppliers, partners, and licensors) excludes all
          liability for any loss or damage arising out of or in connection with
          enviPath, whether in contract, tort (including negligence), equity,
          breach of statutory duty, or otherwise.
        </p>
        <p class="mb-4">
          To the maximum extent permitted by law, the Operator will not be
          liable for any indirect, consequential, special, incidental, or
          exemplary damages (including loss of profits, loss of revenue, loss of
          data, loss of goodwill, or business interruption), even if we have
          been advised of the possibility of such loss.
        </p>
        <p class="mb-4">
          Where liability cannot be excluded, the Operator’s total aggregate
          liability to you for all claims arising out of or in connection with
          these Terms or enviPath is limited to the greater of: (a) NZD 100; and
          (b) any fees paid by you to the Operator for enviPath in the 12 months
          immediately preceding the event giving rise to the claim.
        </p>
        <p class="mb-4">
          Nothing in these Terms limits any liability that cannot lawfully be
          excluded.
        </p>

        <h2 class="mt-8 mb-4 text-2xl font-semibold">
          12. New Zealand Consumer Law
        </h2>
        <p class="mb-4">
          Nothing in these Terms limits any rights you may have under the
          Consumer Guarantees Act 1993 (the <strong>&ldquo;CGA&rdquo;</strong>)
          where those rights cannot lawfully be excluded.
        </p>
        <p class="mb-4">
          If you acquire or use enviPath <strong>in trade</strong> (as defined
          in the CGA), you warrant that the services are acquired for business
          purposes. You agree that, to the extent permitted by law, the CGA does
          not apply, and the parties agree it is fair and reasonable to contract
          out of the CGA for that supply.
        </p>

        <h2 class="mt-8 mb-4 text-2xl font-semibold">
          13. Academic Use and Citations
        </h2>
        <p class="mb-4">
          If you use enviPath in your research, we request that you cite our
          work appropriately. Please visit our
          <a href="/cite" class="link link-primary">citation page</a> for
          details.
        </p>

        <h2 class="mt-8 mb-4 text-2xl font-semibold">
          14. Enforcement, Suspension, and Termination
        </h2>
        <p class="mb-4">
          We may suspend, restrict, throttle, or terminate your access to
          enviPath (including disabling API keys) where we reasonably believe
          you have violated these Terms, exceeded usage limits, engaged in
          abusive or high-volume access, attempted scraping or model extraction,
          or otherwise used enviPath inconsistently with its intended purpose.
        </p>
        <p class="mb-4">
          Where practicable, we will provide notice and an opportunity to remedy
          before taking action. However, we may take immediate action without
          notice where we reasonably consider it necessary to protect enviPath,
          other users, data integrity, security, service availability, or our
          legal interests.
        </p>
        <p class="mb-4">
          Termination does not affect any rights or obligations that by their
          nature should survive termination, including intellectual property,
          disclaimers, limitations of liability, and governing law.
        </p>

        <h2 class="mt-8 mb-4 text-2xl font-semibold">
          15. Licence Information and Third-Party Terms
        </h2>
        <p class="mb-4">
          For detailed licence information about enviPath data and software,
          please refer to the
          <a
            href="https://community.envipath.org/t/envipath-license/109"
            target="_blank"
            rel="noopener noreferrer"
            class="link link-primary"
          >
            enviPath licence documentation </a
          >. Where third-party licences apply, you agree to comply with them.
        </p>

        <h2 class="mt-8 mb-4 text-2xl font-semibold">
          16. Changes to These Terms
        </h2>
        <p class="mb-4">
          We may update these Terms from time to time. The updated Terms will be
          posted on this page with a revised &ldquo;Last updated&rdquo; date.
          Material changes may be notified through the platform (for example, at
          login or via the API dashboard). Your continued use after the
          effective date of an update constitutes acceptance of the updated
          Terms.
        </p>
        <p class="mb-4">
          For certain changes, we may require you to actively re-accept the
          Terms (for example, when obtaining or renewing API keys).
        </p>

        <h2 class="mt-8 mb-4 text-2xl font-semibold">
          17. Governing Law and Jurisdiction
        </h2>
        <p class="mb-4">
          These Terms are governed by and construed in accordance with the laws
          of New Zealand. To the extent permitted by law, you submit to the
          exclusive jurisdiction of the courts of New Zealand for any dispute
          arising out of or in connection with these Terms or enviPath.
        </p>
        <p class="mb-4">
          Mandatory consumer protection laws in your jurisdiction may still
          apply where they cannot be excluded.
        </p>

        <h2 class="mt-8 mb-4 text-2xl font-semibold">18. Contact</h2>
        <p class="mb-4">
          If you have questions about these Terms, or wish to request a
          commercial licence, please
          <a href="/contact" class="link link-primary">contact us</a>.
        </p>

        <div class="alert alert-info mt-8">
          <svg
            xmlns="http://www.w3.org/2000/svg"
            fill="none"
            viewBox="0 0 24 24"
            class="h-6 w-6 shrink-0 stroke-current"
          >
            <path
              stroke-linecap="round"
              stroke-linejoin="round"
              stroke-width="2"
              d="M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z"
            ></path>
          </svg>
          <span>version: 1, Last updated: January 2026</span>
        </div>
      </div>
    </div>
  </div>
{% endblock main_content %}
