/* Legal pages — privacy policy. */
function LegalSection({ title, children }) {
  return (
    <section style={{ marginTop: 44 }}>
      <h2 style={{ fontSize: 25, lineHeight: 1.25 }}>{title}</h2>
      <div className="legal-body">{children}</div>
    </section>
  );
}

function PrivacyPage() {
  const updated = 'July 30, 2026';
  return (
    <main>
      {!window.FR.flags.privacy && (
        <div style={{ background: 'var(--brand-deep)', color: 'var(--bg-primary)', padding: '10px 0', fontSize: 14, letterSpacing: '.02em' }}>
          <div className="wrap">Unpublished preview — this page is hidden from the footer and the cookie banner (window.FR.flags.privacy in data.js).</div>
        </div>
      )}
      <section className="detail-hero page-banner">
        <img className="banner-img banner-crop-wide" src="assets/photos/face-rock-bandon-1.jpg" alt="Sea stacks off the Bandon coast on a clear day" />
        <div className="banner-scrim"></div>
        <div className="wrap measure">
          <div className="eyebrow" style={{ color: 'rgba(240,237,228,.66)' }}>Legal</div>
          <h1 style={{ color: 'var(--fr-off-white)' }}>Privacy Policy</h1>
          <p className="lead" style={{ marginTop: 20, color: 'rgba(240,237,228,.82)' }}>
            How Face Rock Enterprises, LLC handles information collected through this website.
          </p>
          <p style={{ marginTop: 16, fontSize: 'var(--fs-sm)', color: 'rgba(240,237,228,.6)' }}>Last updated {updated}</p>
        </div>
        <div className="banner-ground"></div>
      </section>

      <section className="section-sm">
        <div className="wrap measure">
          <p className="lead">
            Face Rock Enterprises, LLC, doing business as Face Rock Tribal Health (&ldquo;Face Rock,&rdquo; &ldquo;we,&rdquo;
            &ldquo;us&rdquo;), provides operational support to Tribal health programs. This policy covers information collected through
            <strong> facerockinc.com</strong>. It does not cover information handled under a client engagement, which is
            governed by the contracts, business associate agreements, and data-sharing agreements in place with each Tribal
            Nation or organization we serve.
          </p>

          <LegalSection title="Information you give us">
            <p>
              The contact form asks for your name, job title, Tribe or organization, email address, phone number (optional),
              the programs you are interested in, and your message. We collect this only when you choose to submit it.
            </p>
            <p>
              If you email or call us directly, we keep that correspondence so we can respond and maintain a record of the
              conversation.
            </p>
          </LegalSection>

          <LegalSection title="Information collected automatically">
            <p>
              With your consent, we use HubSpot analytics to understand how the site is used. This sets a first-party cookie
              that records:
            </p>
            <ul>
              <li>pages viewed, time on page, and the path taken through the site</li>
              <li>the source that referred you (search, email, direct, or a link elsewhere)</li>
              <li>clicks on navigation, calls to action, service pages, team bios, and videos</li>
              <li>general device and browser information, including an approximate location derived from your IP address</li>
            </ul>
            <p>
              If you later submit the contact form, the browsing record associated with that cookie is linked to your
              contact record so we know what you were looking for before you reached out.
            </p>
            <p>
              We do not run advertising trackers, sell data, or share it with data brokers.
            </p>
          </LegalSection>

          <LegalSection title="Cookies and your choices">
            <p>
              Analytics cookies load only after you select <strong>Accept</strong> on the consent banner. Choosing
              <strong> Decline</strong> means no analytics cookie is set and no browsing activity is recorded. Your choice is
              stored locally in your browser under <code>fr-cookie-consent</code>; that entry is not a tracker and is never
              transmitted to us.
            </p>
            <p>
              You can change your mind at any time.
            </p>
            <p>
              <button type="button" className="btn btn-ghost" onClick={() => window.FRTrack && window.FRTrack.resetConsent()}>
                Manage cookie preferences
              </button>
            </p>
            <p>
              You can also clear cookies through your browser settings. Declining analytics does not limit access to any part
              of this site.
            </p>
          </LegalSection>

          <LegalSection title="How we use information">
            <p>We use what we collect to:</p>
            <ul>
              <li>respond to inquiries and follow up on a potential engagement</li>
              <li>send information you asked for about our services</li>
              <li>understand which pages and topics are useful, and improve the site</li>
              <li>maintain business records and meet legal or contractual obligations</li>
            </ul>
            <p>
              We do not use website information to make automated decisions about you, and we do not sell or rent personal
              information.
            </p>
          </LegalSection>

          <LegalSection title="Service providers">
            <p>
              A small number of vendors process information on our behalf, under contract and only for the purposes below:
            </p>
            <ul>
              <li><strong>HubSpot</strong> — customer relationship management, website analytics, and email follow-up</li>
              <li><strong>Resend</strong> — delivery of contact-form notifications to our internal inbox</li>
              <li><strong>Vercel</strong> — website hosting and standard server logs</li>
            </ul>
            <p>
              We may also disclose information when required by law, or to protect the rights and safety of Face Rock, our
              clients, or the public.
            </p>
            <p>
              Face Rock Enterprises, LLC remains responsible for information these vendors process on our behalf.
            </p>
          </LegalSection>

          <LegalSection title="Protected health information">
            <p>
              This website is not a channel for patient information. Please do not submit protected health information (PHI)
              or other sensitive individual health data through the contact form. Client work involving PHI is handled through
              secure, contracted channels covered by HIPAA business associate agreements &mdash; never through this site.
            </p>
          </LegalSection>

          <LegalSection title="Tribal data sovereignty">
            <p>
              We recognize that Tribal Nations hold governing authority over their own data. Information belonging to a Tribal
              Nation or its health program is handled under the terms that Nation sets, including any Tribal data governance
              policy, resolution, or data-sharing agreement. Nothing in this policy limits or supersedes those terms.
            </p>
          </LegalSection>

          <LegalSection title="Retention and security">
            <p>
              Inquiries and contact records are kept as long as needed for the relationship and our business records, then
              deleted or archived. Analytics records expire on HubSpot&rsquo;s standard schedule. We use encrypted transport,
              access controls, and vendor agreements to protect information, though no method of transmission over the
              internet is completely secure.
            </p>
          </LegalSection>

          <LegalSection title="Your rights">
            <p>
              Depending on where you live, you may have the right to request a copy of the personal information we hold about
              you, ask us to correct or delete it, or opt out of analytics. Email
              {' '}<a href="mailto:info@facerockinc.com">info@facerockinc.com</a> and we will respond within 30 days. We will
              not treat you differently for exercising these rights.
            </p>
          </LegalSection>

          <LegalSection title="Children">
            <p>
              This site is intended for professional audiences and is not directed to children under 13. We do not knowingly
              collect information from children.
            </p>
          </LegalSection>

          <LegalSection title="Changes">
            <p>
              If we update this policy, the revised date at the top of this page will change. Material changes will be noted
              on this page.
            </p>
          </LegalSection>

          <LegalSection title="Contact">
            <p>
              Face Rock Enterprises, LLC<br />
              <span style={{ color: 'var(--text-muted)' }}>dba Face Rock Tribal Health</span><br />
              <a href="mailto:info@facerockinc.com">info@facerockinc.com</a><br />
              <a href="tel:+15037996824">503-799-6824</a>
            </p>
          </LegalSection>
        </div>
      </section>
    </main>
  );
}

window.PrivacyPage = PrivacyPage;
