---
import RichText from '@/components/content/RichText.astro';
import PageShell from '@/components/layout/PageShell.astro';
import Container from '@/components/primitives/Container.astro';
import Section from '@/components/primitives/Section.astro';
import CTASection from '@/components/sections/CTASection.astro';
import PageHero from '@/components/sections/PageHero.astro';
import { termsHero, termsSections, termsSeo } from '@/content/pages/terms';
---

<PageShell currentPath="/terms" title={termsSeo.title} description={termsSeo.description}>
    <PageHero
        hero={termsHero}
        calloutTitle="Public terms define the site, not a service contract."
        calloutDescription="The page keeps the public website honest about what it can explain and what still belongs in later commercial/legal paperwork."
    />

    <Section tone="muted" density="base" layer="2">
        <Container width="measure">
            <RichText sections={termsSections} />
        </Container>
    </Section>

    <CTASection
        eyebrow="Next step"
        title="Move back into privacy, trust, or contact once the website terms are clear."
        description="The legal path should stay connected to the rest of the evaluation journey."
        primary={{ href: '/contact', label: 'Return to contact' }}
        secondary={{ href: '/imprint', label: 'Review the imprint', variant: 'secondary' }}
    />
</PageShell>
