:root {
  --bg: #f2f6fb;
  --paper: #fff;
  --ink: #13284a;
  --muted: #475973;
  --line: #d9e3ef;
  --orange: #2055c0;
  --green: #176b55;
  --navy: #142e58;
  --soft: #e9f0fa;
}

.site-head {
  background: #fff;
}

.site-head .legal-brand-mark {
  display: block;
  width: 40px;
  height: 40px;
  object-fit: contain;
}

.site-head .legal-brand-wordmark {
  display: block;
  width: 218px;
  max-width: 100%;
  height: auto;
}

.legal-language-nav {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 0 0 12px;
}

.legal-language-nav a {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 5px 13px;
  color: var(--orange);
  font-size: 14px;
  font-weight: 650;
}

.legal-edition,
.legal-edition [id$="-shop-deletion"] {
  scroll-margin-top: 145px;
}

.legal-edition {
  overflow-wrap: anywhere;
  padding-bottom: 46px;
}

.legal-edition + .legal-edition {
  border-top: 1px solid var(--line);
  padding-top: 38px;
}

.legal-edition .hero {
  padding-top: 34px;
}

.legal-edition .hero h1 {
  font-size: clamp(30px, 4vw, 47px);
  letter-spacing: -.025em;
  line-height: 1.17;
}

.legal-edition .prose {
  max-width: 940px;
}

.legal-edition .notice strong {
  color: #cfe3ff;
}

.legal-edition .prose a,
.legal-language-nav a:focus-visible {
  text-decoration: underline;
  text-underline-offset: 3px;
}

@media (max-width: 780px) {
  .site-head {
    position: static;
  }
  .legal-edition,
  .legal-edition [id$="-shop-deletion"] {
    scroll-margin-top: 14px;
  }
}

html {
  scroll-behavior: auto;
}
