.legal-document {
  max-width: 1120px;
  padding-top: 28px;
  padding-bottom: 64px;
}

.legal-document__breadcrumbs,
.legal-document__nav,
.cookie-notice__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.legal-document__breadcrumbs {
  margin-bottom: 42px;
  color: var(--color-text-muted, #536363);
  font-size: 14px;
}

.legal-document__breadcrumbs a,
.legal-document__nav a,
.cookie-notice__actions a {
  color: var(--color-teal, #086169);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-document__header {
  max-width: 820px;
  margin-bottom: 28px;
}

.legal-document__eyebrow {
  color: var(--color-teal, #086169);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.legal-document__header h1 {
  margin: 10px 0 14px;
  font-size: clamp(36px, 5vw, 58px);
  line-height: 1.08;
}

.legal-document__header p,
.legal-document__body p {
  color: var(--color-text-muted, #536363);
  line-height: 1.75;
}

.legal-document__nav {
  margin-bottom: 22px;
  padding: 15px 0;
  border-top: 1px solid var(--color-border, #dce2df);
  border-bottom: 1px solid var(--color-border, #dce2df);
}

.legal-document__nav a[aria-current="page"] {
  color: var(--color-text, #142223);
  font-weight: 800;
}

.legal-document__draft {
  margin-bottom: 30px;
  padding: 15px 18px;
  border-left: 3px solid var(--color-accent, #daa36f);
  background: #f4f6f4;
  color: #344747;
  line-height: 1.65;
}

.legal-document__body {
  max-width: 820px;
}

.legal-document__body section + section {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--color-border, #dce2df);
}

.legal-document__body h2 {
  margin: 0 0 10px;
  font-size: 21px;
}

.cookie-notice[hidden] {
  display: none !important;
}

.cookie-notice {
  position: fixed;
  z-index: 9999;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 15px 24px;
  border-top: 1px solid #cbd5d1;
  background: #fff;
  box-shadow: 0 -8px 28px rgb(20 34 35 / 12%);
}

.cookie-notice__inner {
  display: flex;
  width: min(100%, 1410px);
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin: 0 auto;
}

.cookie-notice__copy {
  margin: 0;
  color: #243536;
  font-size: 14px;
  line-height: 1.55;
}

.cookie-notice__copy strong {
  margin-right: 5px;
}

.cookie-notice__actions {
  flex: none;
}

.cookie-notice__dismiss {
  min-height: 44px;
  padding: 9px 18px;
  border: 1px solid #086169;
  border-radius: 7px;
  background: #086169;
  color: #fff;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.cookie-notice :focus-visible {
  outline: 3px solid #086169;
  outline-offset: 3px;
}

@media (max-width: 700px) {
  .legal-document { padding-top: 22px; padding-bottom: 44px; }
  .legal-document__breadcrumbs { margin-bottom: 30px; }
  .legal-document__nav { gap: 10px 16px; }
  .cookie-notice { padding: 8px 16px; }
  .cookie-notice__inner { align-items: flex-start; flex-direction: column; gap: 6px; }
  .cookie-notice__copy { font-size: 12px; line-height: 1.35; }
  .cookie-notice__actions { width: 100%; justify-content: space-between; gap: 12px; }
  .cookie-notice__dismiss { min-height: 40px; padding: 8px 16px; }
}
