/* Shared style for the static support and legal pages (support, privacy, terms, imprint). */
@font-face {
  font-family: 'Manrope Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url('/fonts/manrope.woff2') format('woff2');
}
@font-face {
  font-family: 'DM Sans Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 1000;
  src: url('/fonts/dm-sans.woff2') format('woff2');
}
:root {
  --ink: #111111;
  --muted: #666666;
  --surface: #f5f5f5;
  --line: #e5e5e5;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  background: #ffffff;
  color: var(--ink);
  font:
    1.0625rem/1.53 'DM Sans Variable',
    system-ui,
    sans-serif;
}
.page {
  max-width: 760px;
  margin: 0 auto;
  padding: 8px 24px 64px;
}
/* Header mirrors the landing page (src/web/marketing.css) so all pages share one nav. */
.section-wrap {
  width: min(1180px, calc(100% - 64px));
  margin-inline: auto;
}
.skip-link {
  position: absolute;
  top: -200px;
  left: 16px;
  padding: 16px;
  background: white;
  z-index: 10;
}
.skip-link:focus {
  top: 16px;
}
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding-block: 26px;
  border-bottom: 1px solid var(--line);
  flex-wrap: wrap;
}
/* Sticky header; the spread shadow paints the full-bleed white behind the centered wrap. */
.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: #ffffff;
  box-shadow: 0 0 0 100vmax #ffffff;
  clip-path: inset(0 -100vmax);
}
.site-header a {
  text-decoration: none;
}
.site-header a:hover {
  text-decoration: underline;
  text-decoration-color: #ffd43b;
  text-decoration-thickness: 3px;
  text-underline-offset: 5px;
}
.brand {
  display: flex;
  gap: 10px;
  align-items: center;
  font:
    750 1.25rem/1.4 'Manrope Variable',
    system-ui,
    sans-serif;
  letter-spacing: -0.04em;
}
.brand img {
  flex-shrink: 0;
  width: 52px;
  height: 52px;
}
.site-header nav,
.header-actions {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.site-header nav a {
  font-size: 1rem;
  padding-block: 10px;
}
.header-actions {
  gap: 16px;
}
.language-switch {
  display: flex;
  background: var(--surface);
  padding: 4px;
  border-radius: 12px;
}
.language-switch a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  min-width: 44px;
  min-height: 44px;
  border-radius: 8px;
  font-size: 1rem;
  color: var(--ink);
  text-decoration: none;
}
.language-switch a:hover {
  background: #e8e8e8;
}
.language-switch a[aria-current='page'] {
  background: white;
  box-shadow: 0 1px 4px #0000000c;
}
.nav-cta {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 12px 20px;
  border-radius: 12px;
  background: var(--ink);
  color: white;
  font-size: 1rem;
}
.nav-cta .arrow {
  color: #ffd43b;
}
.site-header .nav-cta:hover {
  background: #ffd43b;
  color: var(--ink);
  text-decoration: none;
}
.nav-cta:hover .arrow {
  color: var(--ink);
}
@media (max-width: 1000px) {
  .site-header,
  .site-header nav {
    justify-content: center;
  }
}
@media (max-width: 700px) {
  .section-wrap {
    width: calc(100% - 40px);
  }
  /* The wrapped header is too tall to pin on phones. */
  .site-header {
    position: static;
    gap: 16px;
    padding-block: 20px;
  }
  .site-header .brand {
    width: 100%;
    justify-content: center;
  }
  .site-header nav {
    width: 100%;
    gap: 20px;
  }
}
a {
  color: var(--ink);
  text-underline-offset: 3px;
}
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}
h1,
h2,
h3 {
  font-family: 'Manrope Variable', system-ui, sans-serif;
  line-height: 1.25;
}
h1 {
  font-size: clamp(1.875rem, 1.375rem + 2vw, 2.5rem);
  margin: 40px 0 8px;
}
h2 {
  font-size: 1.25rem;
  margin: 36px 0 8px;
}
h3 {
  font-size: 1.0625rem;
  margin: 24px 0 4px;
}
.updated,
.note {
  color: var(--muted);
  font-size: 0.9375rem;
}
.card {
  background: var(--surface);
  border-radius: 16px;
  padding: 20px 24px;
  margin: 24px 0;
}
.card p {
  margin: 4px 0;
}
li {
  margin: 8px 0;
}
details {
  border-bottom: 1px solid var(--line);
  padding: 4px 0;
}
summary {
  min-height: 44px;
  display: flex;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
}
/* Operator details that must be filled in before publishing. */
mark.todo {
  background: #fff3c4;
  padding: 0 4px;
  border-radius: 4px;
}
/* Footer mirrors the landing page (src/web/marketing.css) so all pages share one footer. */
.site-footer {
  display: grid;
  grid-template-columns: 1.4fr 0.6fr 1fr;
  gap: 40px;
  border-top: 1px solid var(--line);
  /* No bottom padding: the wordmark sits on the page's bottom edge. */
  padding-block: 48px 0;
}
.site-footer a {
  text-decoration: none;
}
.site-footer a:hover {
  text-decoration: underline;
  text-decoration-color: #ffd43b;
  text-decoration-thickness: 3px;
  text-underline-offset: 5px;
}
.site-footer .brand {
  font-size: 1.0625rem;
}
.site-footer p {
  font-size: 0.9375rem;
}
.site-footer nav,
.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 18px;
}
.site-footer nav a,
.footer-right a {
  min-height: 44px;
  display: flex;
  align-items: center;
}
.footer-right small {
  font-size: 0.875rem;
  color: var(--muted);
}
.site-footer {
  container-type: inline-size;
}
/* Notes under the tagline and required credit lines, kept deliberately quiet. */
.site-footer .health-disclaimer,
.site-footer .trademark-note {
  font-size: 0.75rem;
  line-height: 1.5;
  color: var(--muted);
}
.site-footer .health-disclaimer,
.site-footer .trademark-note {
  margin: 8px 0 0;
  max-width: 46ch;
}
.site-footer .health-disclaimer {
  margin-top: 20px;
}
/* Full-width sign-off; sized to the footer (cqi), not the root font, so it never overflows. */
.footer-wordmark {
  grid-column: 1/-1;
  margin-top: 16px;
  font-family: 'Manrope Variable', sans-serif;
  font-weight: 800;
  font-size: 13.4cqi;
  /* Puts Manrope's baseline on the line box bottom, so the letters touch the page edge; the
     highlight below the baseline is clipped there too. */
  line-height: 0.77;
  overflow-y: clip;
  letter-spacing: -0.06em;
  color: var(--ink);
  overflow-wrap: anywhere;
}
/* The German name is longer; each locale fills the full footer width. */
:root:lang(de) .footer-wordmark {
  font-size: 12.6cqi;
}
/* Highlighter stroke in brand yellow behind the lower half of the letters. */
.footer-wordmark span {
  padding-inline: 0.04em;
  background: linear-gradient(transparent 58%, #ffd43b 58% 90%, transparent 90%);
  -webkit-box-decoration-break: clone;
  box-decoration-break: clone;
}
@media (max-width: 1000px) {
  .site-footer {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .site-footer nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
  }
}
