/* global React, ReactDOM, useReveal, Nav, Footer, JOBS, ApplicationModal, ContactModal */
const { useEffect } = React;

function PrivacyNoticePage() {
  useReveal();
  return (
    <div>
      <Nav activePage="" openCount={JOBS.length} theme="light" />
      <main className="section-lavender">
        <article className="max-w-[820px] mx-auto px-6 md:px-10 pt-[140px] md:pt-[180px] pb-20">
          <header className="mb-14">
            <div className="eyebrow mb-4">Legal · For job candidates</div>
            <h1 className="h-display text-[44px] sm:text-[60px] md:text-[80px]" style={{ lineHeight: 0.98, fontWeight: 700 }}>
              Privacy Notice
            </h1>
            <p className="mt-6 text-[16px] md:text-[18px]" style={{ color: 'var(--muted)' }}>
              How we handle your personal data when you apply for a job at Core Habits.
            </p>
          </header>

          <div className="legal-prose">
            <p>
              In this privacy notice for job candidates (the <strong>"Notice"</strong>) we, Mb Core Habits, company code
              307683605, registration address Vilniaus r. sav., Avižieniai, Laurų g. 13, LT‑14184, Lithuania
              (<strong>"Company"</strong>, <strong>"we"</strong>, <strong>"us"</strong> or <strong>"our"</strong>),
              explain how we, as a data controller, handle your personal data (the <strong>"Personal data"</strong>)
              when you apply for an open job or internship position through our website's{' '}
              <a href="careers.html">careers page</a> (<strong>"Website"</strong>) or by contacting us by email or other
              publicly available means (e.g. LinkedIn).
            </p>
            <p>
              This Notice does not cover your use of our products or services as a consumer. For more information,
              please read our <a href="privacy-policy.html">Privacy Policy</a>.
            </p>

            <h2 id="purposes">1. For what purposes we process your personal data?</h2>
            <ol>
              <li>
                We collect, use and otherwise process your Personal data for the following purposes:
                <ul>
                  <li>to assess your application and your suitability for an open job or internship position;</li>
                  <li>to contact you about suitable job opportunities as they may arise in the future and invite you to participate in our candidate selection process;</li>
                  <li>to conduct surveys (i.e. to get your opinion on the recruitment process).</li>
                </ul>
              </li>
            </ol>

            <h2 id="what-data">2. What Personal data we collect?</h2>
            <ol>
              <li>
                Having your consent, we may collect the following Personal data from you for the purpose of evaluating
                your, as candidate's, application for an open job or internship position:
                <div className="dl-block">
                  <div className="dl-row"><dt>Identifiers</dt> <dd>— your name, surname.</dd></div>
                  <div className="dl-row"><dt>Contact information</dt> <dd>— email address, phone number, country of residence.</dd></div>
                  <div className="dl-row"><dt>Professional networking sites</dt> <dd>— LinkedIn profile.</dd></div>
                  <div className="dl-row"><dt>CV</dt> <dd>— information provided in CV (i.e. work history, educational history, certifications, skills, academic degrees, qualifications, professional background, language skills and any other data provided therein).</dd></div>
                  <div className="dl-row"><dt>Cover letter</dt> <dd>— information provided in your cover letter.</dd></div>
                  <div className="dl-row"><dt>Recruitment task data</dt> <dd>— presentations, video tasks where your face image is visible (if you agree), other tasks performed by you.</dd></div>
                  <div className="dl-row"><dt>Other information</dt> <dd>— any other information you voluntarily submit to us in connection with your application, including information you provide during interviews, or as part of other forms of assessment.</dd></div>
                </div>
                <p>
                  <strong>Regarding information we may receive from third parties.</strong> We may collect your Personal
                  data related to your qualification, professional abilities and professional qualities from your former
                  employer after informing you beforehand, and from your current employer only with your consent. You
                  can withdraw your consent at any time by sending an email to{' '}
                  <a href="mailto:info@core-habits.com">info@core-habits.com</a>. Withdrawal will not affect the lawfulness
                  of processing before the withdrawal.
                </p>
                <p>
                  We also may collect your Personal data lawfully received from recruitment agencies, social media
                  providers (i.e. LinkedIn), HR tools (i.e. MeetFrank OÜ), and our employees via the referral system as
                  provided in Section 3 of this Notice.
                </p>
              </li>
              <li>
                Please note that when you apply for an open job or internship position, we will not collect and process
                your sensitive Personal data (e.g. information about your health, sexual orientation, religious views etc.).
              </li>
              <li>
                After the process of the selection of candidates ends, we may ask you to express your opinion and
                evaluate the recruitment process. Therefore, we may process your response to our questionnaires or survey.
              </li>
            </ol>

            <h2 id="referral">3. Referral system</h2>
            <ol>
              <li>
                We have a referral system where our current employees, including employees of our group of companies,
                can recommend a potential candidate. The employee recommending a potential candidate may provide data
                about a potential candidate to us and, therefore, the employee undertakes to inform a potential candidate
                about the transfer of the Personal data to us and get permission. Such employee holds all responsibility
                regarding Personal data of a potential candidate.
              </li>
              <li>
                If we believe that the recommended candidate may be a suitable candidate for us, we may contact a
                potential candidate by the phone number or email address provided by our employee.
              </li>
            </ol>

            <h2 id="legal-grounds">4. On what legal grounds we process your Personal data?</h2>
            <ol>
              <li>
                We collect, use and otherwise process your Personal data in accordance with the following legal basis:
                <ol>
                  <li>
                    when you apply for an open job or internship position and we assess your suitability for that position,
                    we process your Personal data:
                    <ul>
                      <li>on your consent (Art. 6(1)(a) of the GDPR). You can withdraw your consent at any time by sending a letter to the email address indicated in Section 10 of this Notice;</li>
                      <li>we also have a legitimate interest to effectively organize our recruitment process, including to collect information about your qualification, professional abilities and professional qualities from your former employer after informing you beforehand (Art. 6(1)(f) of the GDPR).</li>
                    </ul>
                  </li>
                  <li>
                    when we contact you about suitable job opportunities and invite you to participate in the recruitment
                    process, we process your Personal data:
                    <ul>
                      <li>on your consent (Art. 6(1)(a) of the GDPR). You can withdraw your consent at any time by sending a letter to the email address indicated in Section 10 of this Notice.</li>
                    </ul>
                  </li>
                  <li>
                    when we send you a survey or questionnaire regarding the recruitment process you participated in, we
                    process your Personal data:
                    <ul>
                      <li>on your consent (Art. 6(1)(a) of the GDPR). You can withdraw your consent at any time by sending a letter to the email address indicated in Section 10 of this Notice.</li>
                    </ul>
                  </li>
                </ol>
              </li>
            </ol>

            <h2 id="retention">5. How long we process your Personal data?</h2>
            <ol>
              <li>We keep your Personal data for no longer than necessary to fulfill the purposes for which it is processed.</li>
              <li>
                We will process your Personal data for as long as the selection to the specific job or internship position
                is taking place (usually about 3 months), unless you make a voluntary decision not to participate in the
                process and, thus, withdraw your consent to process your data.
              </li>
              <li>
                We will delete your Personal data if you are not accepted for a certain job or internship position, unless
                you give your consent to store your Personal data so that we can contact you about open job or internship
                positions that we think may be suitable for you. If you give such consent, your Personal data will be
                stored for 3 (three) years.
              </li>
            </ol>

            <h2 id="recipients">6. To whom we provide your Personal data?</h2>
            <ol>
              <li>
                We provide your Personal data to the following recipients:
                <ul>
                  <li>Our group of companies (following the legislation requirements, we may transfer your Personal Data to our group of companies, for example, in order to properly carry out a selection for a vacant position with us or our group companies);</li>
                  <li>Recruitment service providers;</li>
                  <li>Service providers operating on behalf of us and under our instructions (e.g. IT service providers, web hosting service providers, etc.).</li>
                </ul>
              </li>
              <li>
                Personal data recipients indicated in this section may be established outside the Republic of Lithuania,
                European Union (EU) and European Economic Area (EEA). In case we transfer your Personal data to such
                recipients, we will take all the necessary measures indicated in the legal acts to ensure that your privacy
                will remain properly secured, including where appropriate, signing European Commission approved Standard
                Contractual Clauses for transfer of data. More information about Standard Contractual Clauses can be found
                here:{' '}
                <a href="https://commission.europa.eu/law/law-topic/data-protection/international-dimension-data-protection/standard-contractual-clauses-scc_en" target="_blank" rel="noreferrer">
                  commission.europa.eu — Standard Contractual Clauses
                </a>.
              </li>
            </ol>

            <h2 id="rights">7. Your rights</h2>
            <ol>
              <li>
                Subject to certain statutory exceptions, your principal rights under data protection law are the following:
                <ul>
                  <li>the right to be informed about processing of Personal data;</li>
                  <li>the right to access your Personal data;</li>
                  <li>the right to rectification;</li>
                  <li>the right to erasure of your Personal data;</li>
                  <li>the right to restrict the processing of your Personal data;</li>
                  <li>the right to object to our processing of your Personal data;</li>
                  <li>the right to object to our processing of your Personal data for direct marketing purposes (including profiling for direct marketing purposes);</li>
                  <li>the right to object to our processing of your Personal data for scientific or historical research purposes or statistical purposes;</li>
                  <li>the right to data portability;</li>
                  <li>the right to lodge a complaint with a supervisory authority responsible for data protection;</li>
                  <li>the right to withdraw that consent at any time;</li>
                  <li>the right to request not to be subject to a decision based solely on automated processing, including profiling, which produces legal effects concerning you or similarly significantly affects you.</li>
                </ul>
              </li>
              <li>Please read our <a href="privacy-policy.html">Privacy Policy</a> for a more detailed description of your rights.</li>
              <li>
                You may exercise any of the rights indicated herein by contacting us by email:{' '}
                <a href="mailto:info@core-habits.com">info@core-habits.com</a>. Please note that we have a legal obligation
                to verify your identity before exercising your rights. We undertake to respond to your inquiry as soon as
                possible and within 1 month after it is received. This response time may be extended by 2 months for
                complex or multiple requests. In case of such an extension, we will inform you additionally.
              </li>
            </ol>

            <h2 id="complaint">8. Right to complaint</h2>
            <p>
              If you believe that your rights have been violated, you may contact us by email{' '}
              <a href="mailto:info@core-habits.com">info@core-habits.com</a>. Also, you may file a complaint with the
              supervisory authority in the EU member state of your habitual residence, your place of work or the place
              of the alleged infringement. Our data processing is supervised by the State Data Protection Inspectorate
              of the Republic of Lithuania, registered office at L. Sapiegos St. 17, LT‑10312 Vilnius, email address{' '}
              <a href="mailto:ada@ada.lt">ada@ada.lt</a>,{' '}
              <a href="https://vdai.lrv.lt" target="_blank" rel="noreferrer">www.vdai.lrv.lt</a>.
            </p>

            <h2 id="changes">9. Changes to the Notice</h2>
            <p>
              Any changes to this Notice will be published on the Website and, in case of material changes, we may inform
              you about such via email or by other means which we will deem the most fitting in a particular case. Any
              changes to the Notice shall come into force from the date of their publication, i.e. from the date they
              are posted on the Website.
            </p>

            <h2 id="contacts">10. Contacts</h2>
            <p>
              In case of any inquiries or if you would like to exercise any of your rights provided in this notice, you
              may submit such inquiries and requests by the following contact details:
            </p>
            <div className="dl-block">
              <div className="dl-row"><dt>Mb Core Habits</dt></div>
              <div className="dl-row"><dt>Company code:</dt> <dd>307683605</dd></div>
              <div className="dl-row"><dt>Registration address:</dt> <dd>Vilniaus r. sav., Avižieniai, Laurų g. 13, LT‑14184, Lithuania</dd></div>
              <div className="dl-row"><dt>Email address:</dt> <dd><a href="mailto:info@core-habits.com">info@core-habits.com</a></dd></div>
            </div>
          </div>
        </article>
      </main>
      <Footer />
      <ApplicationModal/>
      <ContactModal/>
    </div>
  );
}

const root = ReactDOM.createRoot(document.getElementById('root'));
root.render(<PrivacyNoticePage />);
