.policy-document {
  --ink: #201b1a;
  --paper: #f1ede5;
  --rule: #cdc5b9;
  --quiet: #5b544d;
  --gutter: clamp(20px, 4vw, 72px);
  --display: 'Big Shoulders Display Variable', 'Arial Narrow', sans-serif;
  background: var(--paper);
  color: var(--ink);
  padding-inline: max(var(--gutter), env(safe-area-inset-left)) max(var(--gutter), env(safe-area-inset-right));
}
.policy-header {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center;
  padding-top: max(clamp(11px, 3.3svh, 44px), env(safe-area-inset-top));
}
.policy-header a { text-decoration: none; }
.policy-back, .policy-home, .policy-languages summary, .policy-languages a {
  display: inline-flex; min-height: 44px; align-items: center;
}
.policy-back, .policy-languages {
  font-size: .875rem; line-height: 1.2; font-weight: 550;
}
.policy-back { justify-self: start; gap: .45em; }
.policy-home { justify-self: center; }
.policy-languages { position: relative; justify-self: end; }
.policy-languages summary {
  list-style: none; cursor: pointer; min-width: 44px; gap: 6px; justify-content: center;
  font-weight: 600; letter-spacing: .025em;
}
.policy-document summary::-webkit-details-marker { display: none; }
.policy-languages summary::after, .policy-mobile-index summary::after {
  content: ''; width: 7px; height: 7px; border: solid currentColor; border-width: 0 1.5px 1.5px 0;
  transform: translateY(-2px) rotate(45deg);
}
.policy-document details[open] > summary::after { transform: translateY(2px) rotate(225deg); }
.policy-languages nav {
  position: absolute; right: 0; top: 100%; min-width: 9.75rem;
  padding: 4px 13px 7px; background: var(--ink); color: var(--paper);
}
.policy-languages a { display: flex; justify-content: space-between; gap: 1em; }
.policy-languages a[aria-current]::after {
  content: ''; width: .5em; height: .5em; border: .14em solid currentColor; border-radius: 50%;
}
.policy-languages a:focus-visible { outline-color: currentColor; outline-offset: -2px; }

main.policy-page {
  display: block; width: min(100%, 74rem); min-height: 0;
  margin: clamp(28px, 5svh, 70px) auto 0;
  padding: 0 0 max(48px, env(safe-area-inset-bottom)); text-align: start;
}
.policy-cover {
  --cover-type: clamp(2.45rem, 11vw, 8.5rem);
  position: relative; display: grid; place-items: center;
  height: clamp(138px, 18vw, 234px);
}
.policy-cover:lang(en) { --cover-type: clamp(3.75rem, 17vw, 9.4rem); }
.policy-cover:lang(de) { --cover-type: clamp(3rem, 13.5vw, 8.9rem); }
.policy-title {
  position: absolute; top: 50%; left: 50%; translate: -50% -50%;
  margin: 0; width: max-content; max-width: calc(100vw - 2 * var(--gutter));
  text-wrap: balance; text-align: center;
  font: 900 var(--cover-type)/1.08 var(--display); letter-spacing: -.025em; text-transform: uppercase;
}
.policy-exposure {
  position: absolute; inset-block: 0; left: 50%; translate: -50% 0;
  width: min(35vw, 400px); overflow: hidden; background: #291719;
}
.policy-exposure img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 55% 36%; }
.policy-exposure::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(0deg, transparent, #1a0e1566 32%, #1a0e1566 68%, transparent);
}
.policy-exposure .policy-title { color: #fff9ee; text-shadow: 0 1px 3px #24141240; user-select: none; }
.policy-intro > p {
  max-width: 49ch; margin: clamp(18px, 2.4vw, 34px) auto clamp(34px, 4.2vw, 68px);
  text-align: center; text-wrap: balance; color: var(--quiet);
  font-weight: 480; font-size: clamp(1rem, 1.4vw, 1.19rem); line-height: 1.52;
}
.policy-reading {
  display: grid; grid-template-columns: minmax(12rem, 1fr) minmax(0, 40rem);
  gap: clamp(40px, 6vw, 110px); align-items: start;
  border-top: 1px solid var(--ink); padding-top: clamp(24px, 3.6vw, 50px);
}
.policy-index { position: sticky; top: 28px; }
.policy-index ul { list-style: none; padding: 0; margin: 0; }
.policy-desktop-index > p, .policy-mobile-index summary {
  margin: 0 0 12px; font-size: .875rem; font-weight: 660;
}
.policy-index a {
  display: inline-flex; align-items: center; min-height: 36px;
  color: var(--quiet); font-size: .9375rem; text-decoration: none;
}
.policy-mobile-index { display: none; }
.policy-article { min-width: 0; font-size: clamp(1rem, 1.22vw, 1.125rem); line-height: 1.62; font-weight: 450; }
.policy-article section + section {
  border-top: 1px solid var(--rule);
  margin-top: clamp(24px, 3.1vw, 44px); padding-top: clamp(24px, 3.1vw, 44px);
}
.policy-article h2 {
  margin: 0 0 .58em; scroll-margin-block-start: 24px;
  font: 720 clamp(1.6rem, 2.75vw, 2.55rem)/1.15 var(--display);
  text-wrap: balance; overflow-wrap: anywhere;
}
.policy-article h2:focus { outline: none; }
.policy-article h2:target { color: #682b3b; }
.policy-article p, .policy-article address { margin: 0 0 .8em; }
.policy-article p { text-wrap: pretty; }
.policy-article address { color: var(--quiet); font-style: normal; }
.policy-article strong { font-weight: 690; }
.policy-article section > :last-child { margin-bottom: 0; }
.policy-article a { text-decoration-thickness: 1px; text-underline-offset: .21em; }
.policy-email, .policy-top, .references a, .policy-article section > p:last-child > a:only-child {
  display: inline-flex; min-height: 44px; align-items: center;
}
.references { display: flex; flex-wrap: wrap; column-gap: 1.1em; }
.policy-top { gap: .45em; margin-top: 32px; font-size: .9375rem; }
.policy-top span { text-decoration: none; }
@media (hover: hover) and (pointer: fine) {
  .policy-back:hover svg { transform: translateX(-3px); }
  .policy-index a:hover, .policy-languages a:hover { color: inherit; text-decoration: underline; }
  .policy-article a:hover { text-decoration-thickness: 2px; }
}
@media (prefers-reduced-motion: no-preference) {
  .policy-back svg, .policy-document summary::after { transition: transform 180ms ease-out; }
  .policy-exposure { animation: policy-open 560ms cubic-bezier(.16,1,.3,1) both; }
  @keyframes policy-open { from { clip-path: inset(0 11%); } to { clip-path: inset(0); } }
}
@media (max-width: 700px) {
  .policy-reading { display: block; padding: 0; }
  .policy-exposure { width: 48vw; }
  .policy-index { position: static; }
  .policy-desktop-index { display: none; }
  .policy-mobile-index { display: block; border-bottom: 1px solid var(--rule); }
  .policy-mobile-index summary {
    display: flex; align-items: center; justify-content: space-between; gap: 10px;
    min-height: 52px; margin: 0; list-style: none; cursor: pointer;
  }
  .policy-mobile-index nav { padding-bottom: 12px; }
  .policy-mobile-index a { min-height: 44px; }
  .policy-article { padding-top: 28px; }
}
@media (forced-colors: active) {
  .policy-exposure { display: none; }
  .policy-cover { height: auto; }
  .policy-title { position: static; translate: none; white-space: normal; text-align: center; }
}
@media print {
  .policy-document { background: white; padding: 0; color: black; }
  .policy-header, .policy-exposure, .policy-index, .policy-top { display: none; }
  main.policy-page, .policy-intro > p { width: auto; max-width: none; margin: 0 0 1rem; text-align: left; }
  .policy-cover { display: block; height: auto; }
  .policy-title { position: static; translate: none; font-size: 30pt; white-space: normal; }
  .policy-reading { display: block; padding-top: 12pt; }
  .policy-article { font-size: 11pt; }
  .policy-article h2 { font-size: 16pt; break-after: avoid; }
  .policy-article p { orphans: 3; widows: 3; }
}
