@font-face {
  font-family: 'Pebwise Legal Newsreader';
  src: url('./assets/Newsreader-Display-Regular.ttf') format('truetype');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}
.teaser-legal {
  position: absolute;
  inset-inline: 8px;
  bottom: max(8px, env(safe-area-inset-bottom));
  color: #17644B;
  font: 400 12px/1.5 Arial, Helvetica, sans-serif;
}
.teaser-legal nav { display: flex; justify-content: center; gap: 16px; }
.teaser-legal a { display: inline-flex; align-items: center; min-height: 44px; padding: 10px 4px; }
.teaser-legal a, .legal-page a { color: inherit; text-decoration: underline; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
.teaser-legal a:hover, .legal-page a:hover { color: #17644B; }
.teaser-legal a:focus-visible, .legal-page a:focus-visible { outline: 2px solid #17644B; outline-offset: 4px; border-radius: 2px; }
.legal-page, .legal-page * { box-sizing: border-box; }
.legal-page {
  margin: 0;
  min-width: 280px;
  background: #E6ECE2;
  color: #16211D;
  font: 400 17px/1.7 Arial, Helvetica, sans-serif;
  color-scheme: light;
  scrollbar-color: #52635B #E6ECE2;
}
.legal-page ::selection { color: #FFFEFA; background: #17644B; }
.legal-shell { width: min(72ch, calc(100% - 48px)); margin-inline: auto; padding-block: 32px 40px; }
.legal-nav { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: 14px; }
.legal-nav a { display: inline-flex; align-items: center; min-height: 44px; padding-block: 10px; }
.legal-page main { margin-block: 48px 56px; overflow-wrap: break-word; }
.legal-page h1, .legal-page h2 { font-family: 'Pebwise Legal Newsreader', Georgia, serif; font-weight: 400; text-wrap: balance; }
.legal-page h1 { margin: 0 0 40px; font-size: clamp(38px, 6vw, 56px); line-height: 1.1; letter-spacing: -0.025em; }
.legal-page h2 { margin: 52px 0 20px; font-size: clamp(28px, 4vw, 36px); line-height: 1.2; letter-spacing: -0.015em; }
.legal-page h3 { margin: 32px 0 12px; font-size: 22px; line-height: 1.4; text-wrap: balance; }
.legal-page h4 { margin: 24px 0 10px; font-size: 17px; line-height: 1.5; }
.legal-page p { margin: 0 0 20px; }
.legal-page ul { padding-inline-start: 24px; margin-block: 0 24px; }
.legal-page li { padding-inline-start: 4px; margin-block: 0 16px; }
.legal-objection { margin-block: 36px; padding: 24px; border: 1px solid #8E9F90; }
.legal-objection h3 { margin-top: 0; }
.legal-objection p:last-child { margin-bottom: 0; }
.legal-page footer { padding-top: 24px; border-top: 1px solid #8E9F90; }
@media (max-width: 480px) {
  .legal-shell { width: calc(100% - 40px); padding-top: 20px; }
  .legal-page main { margin-top: 32px; }
  .legal-objection { padding: 20px 16px; }
}
/* Keep the reviewed scene untouched in the short landscape viewport. */
@media (orientation: landscape) and (max-height: 500px) {
  .teaser-legal { bottom: 0; }
  .teaser-legal a { min-height: 24px; padding-block: 3px; }
  .teaser-legal a:focus-visible { outline-offset: -2px; }
}
@media (forced-colors: active) {
  .teaser-legal a:focus-visible, .legal-page a:focus-visible { outline-color: Highlight; }
}
