<script>
  import { t } from '$lib/translations';
  import Seo from '$lib/components/Seo.svelte';

  /** @type {import('./$types').PageProps} */
  let { data } = $props();

  const metadata = data.metadata;
</script>

<Seo {...metadata} />

<section aria-labelledby="tos-heading">
  <h1 id="tos-heading">{$t('terms.of.service.title')}</h1>
  <p><em>{$t('terms.of.service.update')}</em></p>

  {@html $t('terms.of.service.content')}
</section>

<style>
  section {
    width: 70%;
    margin: 0 auto;
  }
  h2 {
    font-size: 17px;
  }

  @media (max-width: 768px) {
    section {
      width: 100%;
    }
  }
</style>
