/* One stylesheet for every app's privacy page (tools/store_pages). The app's colors, fonts
   and radius come from the <style> block in each page, built from store/pages.json. */

:root { color-scheme: light dark; }
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; scroll-padding-top: 16px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem; /* 17px */
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}
a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 0.2em; }
a:hover { text-decoration-thickness: 2px; }
:focus-visible { outline: 2px solid var(--link); outline-offset: 2px; border-radius: 4px; }
p { margin: 0; }

.skip { position: absolute; left: 16px; top: -64px; padding: 8px 16px; background: var(--ink); color: var(--paper); z-index: 10; }
.skip:focus-visible { top: 16px; }

/* a single column, about 65 characters wide */
.page, .foot__inner { width: 100%; max-width: 40rem; margin-inline: auto; padding-inline: 20px; }
.page { padding-top: 32px; padding-bottom: 40px; }

/* the head: the app's icon over the title */
.top__icon { display: block; width: 56px; height: 56px; border-radius: 22.5%; margin-bottom: 20px; outline: 1px solid var(--line); outline-offset: -1px; }
h1 {
  margin: 0;
  font-family: var(--font-head);
  font-weight: var(--head-weight);
  font-size: 1.75rem; /* 28px */
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-wrap: balance;
  hyphens: auto; /* "Datenschutzerklärung" at 200% text */
}
.top__updated { margin-top: 8px; color: var(--muted); font-size: 0.9375rem; }
.intro { margin-top: 20px; }
.intro p + p { margin-top: 12px; }

/* contents: a plain list on a card, one row per section */
.toc { margin-top: 28px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.toc__label { margin: 0; padding: 14px 20px 6px; font-family: var(--font-body); font-size: 0.875rem; font-weight: 400; line-height: 1.4; color: var(--muted); }
.toc ul { list-style: none; margin: 0; padding: 0; }
.toc li + li { border-top: 1px solid var(--line); }
.toc a { display: flex; align-items: center; min-height: 44px; padding: 9px 20px; color: var(--ink); text-decoration: none; line-height: 1.35; }
.toc a:hover { color: var(--link); }
.toc a:focus-visible { outline-offset: -2px; border-radius: 0; }

/* the policy */
.policy h2 {
  margin: 40px 0 0;
  font-family: var(--font-head);
  font-weight: var(--head-weight);
  font-size: 1.25rem; /* 20px */
  line-height: 1.3;
  letter-spacing: -0.005em;
  text-wrap: balance;
}
.policy h2 + p, .policy h2 + ul { margin-top: 10px; }
.policy p + p, .policy p + ul, .policy ul + p { margin-top: 12px; }
.policy ul { margin: 0; padding-left: 1.25em; }
.policy li + li { margin-top: 8px; }
.policy li::marker { color: var(--muted); }

.foot { border-top: 1px solid var(--line); padding-block: 24px 40px; color: var(--muted); font-size: 0.9375rem; line-height: 1.5; }
.foot__inner { display: grid; gap: 8px; }
.foot__name { color: var(--ink); font-family: var(--font-head); font-weight: var(--head-weight); }

@media (min-width: 48rem) {
  .page { padding-top: 64px; }
  h1 { font-size: 2.25rem; }
  .policy h2 { font-size: 1.375rem; margin-top: 48px; }
}
.foot__links a { color: var(--ink); }
