:root {
  --legal-brand-900: #164194;
  --legal-brand-700: #2764ae;
  --legal-brand-600: #1d71b8;
  --legal-brand-400: #3997d3;
  --legal-accent: #81d4fa;
  --legal-ink: #172033;
  --legal-muted: #627086;
  --legal-line: #dce5ed;
  --legal-soft: #f4f8fb;
  --legal-soft-blue: #edf6fc;
  --legal-success: #176b48;
  --legal-warning: #8a5208;
  --legal-warning-bg: #fff7e8;
  --legal-danger: #a62f35;
  --legal-white: #ffffff;
  --legal-shadow: 0 18px 48px rgba(22, 65, 148, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body.legal-page {
  background: #f8fafc;
  color: var(--legal-ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  margin: 0;
  min-width: 320px;
}

.legal-page button,
.legal-page input,
.legal-page select,
.legal-page textarea {
  font: inherit;
}

.legal-page button,
.legal-page a {
  -webkit-tap-highlight-color: transparent;
}

.legal-page a {
  color: var(--legal-brand-700);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.legal-page a:hover {
  color: var(--legal-brand-900);
}

.legal-page a[aria-disabled="true"] {
  color: var(--legal-muted);
  cursor: not-allowed;
  text-decoration-style: dashed;
}

.legal-page :focus-visible {
  outline: 3px solid rgba(57, 151, 211, 0.35);
  outline-offset: 3px;
}

.legal-skip-link {
  background: var(--legal-brand-900);
  border-radius: 0 0 6px 6px;
  color: #fff !important;
  font-size: 13px;
  font-weight: 800;
  left: 20px;
  padding: 10px 14px;
  position: fixed;
  top: -60px;
  transition: top 160ms ease;
  z-index: 1000;
}

.legal-skip-link:focus {
  top: 0;
}

.legal-header {
  align-items: center;
  backdrop-filter: blur(16px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid rgba(220, 229, 237, 0.92);
  display: flex;
  height: 76px;
  justify-content: space-between;
  padding: 0 clamp(20px, 5vw, 72px);
  position: sticky;
  top: 0;
  z-index: 100;
}

.legal-brand {
  display: inline-flex;
  flex: 0 0 auto;
}

.legal-brand img {
  display: block;
  height: 52px;
  object-fit: contain;
  width: 132px;
}

.legal-header nav {
  align-items: center;
  display: flex;
  gap: 26px;
}

.legal-header nav a {
  color: var(--legal-muted);
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
}

.legal-header nav a:hover {
  color: var(--legal-brand-900);
}

.legal-header .legal-header-cta {
  background: var(--legal-brand-900);
  border: 1px solid var(--legal-brand-900);
  border-radius: 6px;
  color: #fff;
  padding: 10px 14px;
}

.legal-header .legal-header-cta:hover {
  background: var(--legal-brand-700);
  border-color: var(--legal-brand-700);
  color: #fff;
}

.legal-page main {
  margin: 0 auto;
  max-width: 1480px;
  padding: 0 clamp(20px, 5vw, 72px) 84px;
}

.legal-hero {
  align-items: stretch;
  display: grid;
  gap: clamp(30px, 5vw, 76px);
  grid-template-columns: minmax(0, 1.35fr) minmax(320px, 0.65fr);
  padding: clamp(58px, 8vw, 104px) 0 54px;
}

.legal-hero-copy {
  align-self: center;
  max-width: 790px;
}

.legal-eyebrow,
.legal-document-header > div > span,
.legal-identity-card > span,
.legal-index > span,
.legal-help-card > span {
  color: var(--legal-brand-600);
  display: block;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.legal-hero h1 {
  color: var(--legal-ink);
  font-size: clamp(42px, 6vw, 76px);
  letter-spacing: -0.055em;
  line-height: 0.98;
  margin: 15px 0 22px;
  max-width: 760px;
}

.legal-hero-copy > p:not(.legal-eyebrow) {
  color: var(--legal-muted);
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.65;
  margin: 0;
  max-width: 720px;
}

.legal-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px 22px;
  margin-top: 30px;
}

.legal-hero-meta span {
  color: var(--legal-muted);
  font-size: 12px;
}

.legal-hero-meta strong {
  color: var(--legal-ink);
}

.legal-identity-card {
  background: linear-gradient(145deg, #173e7e 0%, var(--legal-brand-900) 55%, #1d71b8 130%);
  border-radius: 12px;
  box-shadow: 0 26px 65px rgba(22, 65, 148, 0.2);
  color: #fff;
  overflow: hidden;
  padding: clamp(28px, 4vw, 40px);
  position: relative;
}

.legal-identity-card::after {
  background: rgba(255, 255, 255, 0.06);
  border-radius: 50%;
  content: "";
  height: 260px;
  position: absolute;
  right: -110px;
  top: -120px;
  width: 260px;
}

.legal-identity-card > span {
  color: var(--legal-accent);
  position: relative;
  z-index: 1;
}

.legal-identity-card > strong {
  display: block;
  font-size: clamp(22px, 3vw, 30px);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-top: 10px;
  position: relative;
  z-index: 1;
}

.legal-identity-card dl {
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  display: grid;
  gap: 0;
  margin: 26px 0 0;
  padding: 12px 0 0;
  position: relative;
  z-index: 1;
}

.legal-identity-card dl div {
  display: grid;
  gap: 14px;
  grid-template-columns: 76px minmax(0, 1fr);
  padding: 9px 0;
}

.legal-identity-card dt {
  color: rgba(255, 255, 255, 0.6);
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
}

.legal-identity-card dd {
  font-size: 12px;
  font-weight: 750;
  margin: 0;
  overflow-wrap: anywhere;
}

.legal-identity-card a,
.legal-identity-card a[aria-disabled="true"] {
  color: #fff;
}

.legal-configuration-notice {
  align-items: start;
  background: var(--legal-warning-bg);
  border: 1px solid #f0d9a9;
  border-radius: 10px;
  color: #603b08;
  display: grid;
  gap: 16px;
  grid-template-columns: auto minmax(0, 1fr);
  margin-bottom: 44px;
  padding: 20px 22px;
}

.legal-configuration-notice[hidden] {
  display: none;
}

.legal-notice-icon {
  align-items: center;
  background: #f8c55c;
  border-radius: 50%;
  display: flex;
  font-weight: 950;
  height: 30px;
  justify-content: center;
  margin-top: 1px;
  width: 30px;
}

.legal-configuration-notice strong {
  display: block;
  font-size: 14px;
}

.legal-configuration-notice p {
  font-size: 12px;
  margin: 3px 0 8px;
}

.legal-configuration-notice ul {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 16px;
  margin: 0;
  padding-left: 18px;
}

.legal-configuration-notice li {
  font-size: 11px;
  font-weight: 750;
}

.legal-layout {
  align-items: start;
  display: grid;
  gap: clamp(28px, 4vw, 58px);
  grid-template-columns: 238px minmax(0, 1fr);
}

.legal-sidebar {
  display: grid;
  gap: 18px;
  position: sticky;
  top: 104px;
}

.legal-index,
.legal-help-card {
  background: #fff;
  border: 1px solid var(--legal-line);
  border-radius: 9px;
  box-shadow: 0 8px 28px rgba(23, 32, 51, 0.035);
  padding: 20px;
}

.legal-index {
  display: grid;
  gap: 3px;
}

.legal-index > span {
  border-bottom: 1px solid var(--legal-line);
  margin-bottom: 8px;
  padding-bottom: 12px;
}

.legal-index a {
  border-left: 2px solid transparent;
  color: var(--legal-muted);
  font-size: 11px;
  font-weight: 780;
  line-height: 1.4;
  padding: 8px 8px 8px 12px;
  text-decoration: none;
  transition: background 150ms ease, border-color 150ms ease, color 150ms ease;
}

.legal-index a:hover,
.legal-index a.active {
  background: var(--legal-soft-blue);
  border-color: var(--legal-brand-600);
  color: var(--legal-brand-900);
}

.legal-help-card p {
  color: var(--legal-muted);
  font-size: 11px;
  line-height: 1.55;
  margin: 9px 0 12px;
}

.legal-help-card a {
  font-size: 11px;
  font-weight: 850;
  overflow-wrap: anywhere;
}

.legal-documents {
  display: grid;
  gap: 28px;
  grid-template-columns: minmax(0, 1fr);
  min-width: 0;
}

.legal-document {
  background: #fff;
  border: 1px solid var(--legal-line);
  border-radius: 12px;
  box-shadow: var(--legal-shadow);
  min-width: 0;
  overflow: clip;
  width: 100%;
}

.legal-document-header {
  align-items: start;
  background: linear-gradient(135deg, #f8fbfd 0%, #edf5fb 100%);
  border-bottom: 1px solid var(--legal-line);
  display: grid;
  gap: 20px;
  grid-template-columns: auto minmax(0, 1fr);
  padding: clamp(25px, 4vw, 42px);
}

.legal-section-number {
  align-items: center;
  background: var(--legal-brand-900);
  border-radius: 7px;
  color: #fff;
  display: flex;
  font-size: 11px;
  font-weight: 900;
  height: 38px;
  justify-content: center;
  letter-spacing: 0.08em;
  margin: 1px 0 0;
  width: 38px;
}

.legal-document-header h2 {
  color: var(--legal-ink);
  font-size: clamp(25px, 3.4vw, 38px);
  letter-spacing: -0.035em;
  line-height: 1.12;
  margin: 7px 0 10px;
}

.legal-document-header p:not(.legal-section-number) {
  color: var(--legal-muted);
  font-size: 13px;
  margin: 0;
  max-width: 720px;
}

.legal-document > section {
  margin: 0 clamp(24px, 5vw, 58px);
  padding: 30px 0;
}

.legal-document > section + section {
  border-top: 1px solid #e8edf2;
}

.legal-document h3 {
  color: var(--legal-ink);
  font-size: 17px;
  letter-spacing: -0.015em;
  line-height: 1.3;
  margin: 0 0 12px;
}

.legal-document section > p,
.legal-document section > ul,
.legal-document section > ol {
  color: #4e5d72;
  font-size: 13px;
}

.legal-document section > p {
  margin: 0;
}

.legal-document section > p + p,
.legal-document section > ul + p,
.legal-document section > ol + p {
  margin-top: 13px;
}

.legal-document section > ul,
.legal-document section > ol {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
  padding-left: 22px;
}

.legal-document code {
  background: #eef3f7;
  border: 1px solid #dde6ed;
  border-radius: 4px;
  color: #33445c;
  font-size: 0.92em;
  padding: 1px 5px;
}

[data-legal-field].is-pending {
  color: var(--legal-warning);
  font-style: normal;
}

.legal-data-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 16px 0;
}

.legal-data-grid > div {
  background: var(--legal-soft);
  border: 1px solid #e1e9ef;
  border-radius: 7px;
  padding: 16px;
}

.legal-data-grid strong {
  color: var(--legal-brand-900);
  display: block;
  font-size: 12px;
}

.legal-data-grid p {
  color: var(--legal-muted);
  font-size: 11px;
  line-height: 1.55;
  margin: 5px 0 0;
}

.legal-table-wrap {
  border: 1px solid var(--legal-line);
  border-radius: 7px;
  margin: 16px 0;
  overflow: auto;
}

.legal-table-wrap table {
  border-collapse: collapse;
  min-width: 680px;
  width: 100%;
}

.legal-table-wrap th,
.legal-table-wrap td {
  border-bottom: 1px solid var(--legal-line);
  font-size: 11px;
  line-height: 1.5;
  padding: 12px 14px;
  text-align: left;
  vertical-align: top;
}

.legal-table-wrap th {
  background: var(--legal-soft);
  color: var(--legal-ink);
  font-size: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.legal-table-wrap td {
  color: #506074;
}

.legal-table-wrap td:first-child {
  color: var(--legal-brand-900);
  font-weight: 850;
  white-space: nowrap;
}

.legal-table-wrap tr:last-child td {
  border-bottom: 0;
}

.legal-cookie-list {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 16px 0;
}

.legal-cookie-list > div {
  border: 1px solid var(--legal-line);
  border-radius: 7px;
  padding: 16px;
}

.legal-cookie-list strong {
  color: var(--legal-ink);
  display: block;
  font-size: 12px;
  margin-top: 8px;
}

.legal-cookie-list p {
  color: var(--legal-muted);
  font-size: 11px;
  line-height: 1.5;
  margin: 4px 0 0;
}

.legal-cookie-state {
  background: #eef1f5;
  border-radius: 999px;
  color: var(--legal-muted);
  display: inline-flex;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.07em;
  padding: 4px 7px;
  text-transform: uppercase;
}

.legal-cookie-state.is-required {
  background: #e6f5ed;
  color: var(--legal-success);
}

.cookie-preferences {
  border: 1px solid var(--legal-line);
  border-radius: 8px;
  margin: 16px 0;
  overflow: hidden;
}

.cookie-preferences > label {
  align-items: center;
  background: #fff;
  cursor: pointer;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  padding: 15px 17px;
}

.cookie-preferences > label + label {
  border-top: 1px solid var(--legal-line);
}

.cookie-preferences > label span {
  display: grid;
  gap: 2px;
}

.cookie-preferences > label strong {
  color: var(--legal-ink);
  font-size: 11px;
}

.cookie-preferences > label small {
  color: var(--legal-muted);
  font-size: 9px;
}

.cookie-preferences input[type="checkbox"] {
  accent-color: var(--legal-brand-900);
  height: 19px;
  width: 19px;
}

.cookie-preference-actions {
  align-items: center;
  background: var(--legal-soft);
  border-top: 1px solid var(--legal-line);
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  padding: 14px 17px;
}

.cookie-preferences > p {
  color: var(--legal-success);
  font-size: 10px;
  font-weight: 750;
  margin: 0;
  min-height: 0;
  padding: 0 17px;
}

.cookie-preferences > p:not(:empty) {
  padding-bottom: 12px;
  padding-top: 10px;
}

.legal-button {
  align-items: center;
  border: 1px solid transparent;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  font-size: 11px;
  font-weight: 850;
  justify-content: center;
  min-height: 40px;
  padding: 9px 15px;
}

.legal-button.primary {
  background: var(--legal-brand-900);
  border-color: var(--legal-brand-900);
  color: #fff;
}

.legal-button.primary:hover:not(:disabled) {
  background: var(--legal-brand-700);
  border-color: var(--legal-brand-700);
}

.legal-button.secondary {
  background: #fff;
  border-color: #bdcad6;
  color: var(--legal-brand-900);
}

.legal-button.secondary:hover:not(:disabled) {
  background: var(--legal-soft-blue);
  border-color: #8facbf;
}

.legal-button:disabled {
  cursor: not-allowed;
  opacity: 0.48;
}

.complaint-provider-summary {
  background: #f7fafc;
  border-bottom: 1px solid var(--legal-line);
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 0 clamp(24px, 5vw, 58px);
}

.complaint-provider-summary > div {
  border-right: 1px solid var(--legal-line);
  display: grid;
  gap: 3px;
  padding: 18px 16px;
}

.complaint-provider-summary > div:first-child {
  padding-left: 0;
}

.complaint-provider-summary > div:last-child {
  border-right: 0;
}

.complaint-provider-summary span {
  color: var(--legal-muted);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.complaint-provider-summary strong {
  color: var(--legal-ink);
  font-size: 10px;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.complaint-lock {
  background: var(--legal-warning-bg);
  border: 1px solid #efd7a6;
  border-radius: 8px;
  color: #684008;
  margin: 26px clamp(24px, 5vw, 58px) 0;
  padding: 17px 18px;
}

.complaint-lock[hidden] {
  display: none;
}

.complaint-lock strong {
  display: block;
  font-size: 12px;
}

.complaint-lock p,
.complaint-lock li {
  font-size: 10px;
}

.complaint-lock p {
  margin: 3px 0 8px;
}

.complaint-lock ul {
  display: flex;
  flex-wrap: wrap;
  gap: 5px 18px;
  margin: 0;
  padding-left: 17px;
}

.complaint-guidance {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin: 0 !important;
  padding-bottom: 24px !important;
}

.complaint-guidance > div {
  background: var(--legal-soft-blue);
  border: 1px solid #d4e8f5;
  border-radius: 7px;
  padding: 15px 16px;
}

.complaint-guidance strong {
  color: var(--legal-brand-900);
  display: block;
  font-size: 11px;
}

.complaint-guidance p {
  color: var(--legal-muted);
  font-size: 10px;
  line-height: 1.5;
  margin: 3px 0 0;
}

.complaint-form {
  margin: 0 clamp(24px, 5vw, 58px) 32px;
}

.complaint-form fieldset {
  border: 0;
  border-top: 1px solid var(--legal-line);
  margin: 0;
  padding: 26px 0;
}

.complaint-form legend {
  color: var(--legal-ink);
  font-size: 13px;
  font-weight: 900;
  padding: 0 16px 0 0;
}

.complaint-choice-row {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 8px;
}

.complaint-choice-row > label {
  align-items: center;
  border: 1px solid var(--legal-line);
  border-radius: 7px;
  cursor: pointer;
  display: flex;
  gap: 12px;
  padding: 14px;
}

.complaint-choice-row > label:has(input:checked) {
  background: var(--legal-soft-blue);
  border-color: var(--legal-brand-400);
}

.complaint-choice-row input {
  accent-color: var(--legal-brand-900);
}

.complaint-choice-row span {
  display: grid;
  gap: 1px;
}

.complaint-choice-row strong {
  color: var(--legal-ink);
  font-size: 11px;
}

.complaint-choice-row small {
  color: var(--legal-muted);
  font-size: 9px;
}

.complaint-grid {
  display: grid;
  gap: 15px 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 8px;
}

.complaint-wide {
  grid-column: 1 / -1;
}

.complaint-form label:not(.complaint-check):not(.complaint-choice-row > label) {
  display: grid;
  gap: 6px;
}

.complaint-form label > span {
  color: #3c4b60;
  font-size: 10px;
  font-weight: 850;
}

.complaint-form label > small {
  color: var(--legal-muted);
  font-size: 9px;
}

.complaint-form input:not([type="checkbox"]):not([type="radio"]),
.complaint-form select,
.complaint-form textarea {
  background: #fff;
  border: 1px solid #cbd7e2;
  border-radius: 6px;
  color: var(--legal-ink);
  font-size: 12px;
  min-height: 44px;
  padding: 10px 12px;
  width: 100%;
}

.complaint-form textarea {
  line-height: 1.55;
  min-height: 110px;
  resize: vertical;
}

.complaint-form input:focus,
.complaint-form select:focus,
.complaint-form textarea:focus {
  border-color: var(--legal-brand-400);
  box-shadow: 0 0 0 3px rgba(57, 151, 211, 0.13);
  outline: 0;
}

.complaint-form .field-invalid {
  border-color: var(--legal-danger) !important;
  box-shadow: 0 0 0 3px rgba(166, 47, 53, 0.09) !important;
}

.complaint-representative[hidden] {
  display: none;
}

.complaint-check {
  align-items: flex-start;
  cursor: pointer;
  display: flex;
  gap: 9px;
  margin-top: 15px;
}

.complaint-check + .complaint-check {
  margin-top: 9px;
}

.complaint-check input {
  accent-color: var(--legal-brand-900);
  flex: 0 0 auto;
  margin: 3px 0 0;
}

.complaint-check span {
  color: #4e5d72 !important;
  font-size: 10px !important;
  font-weight: 650 !important;
}

.complaint-legal-note {
  background: var(--legal-soft);
  border-left: 3px solid var(--legal-brand-600);
  color: #4e5d72;
  font-size: 10px;
  margin: 16px 0 0;
  padding: 12px 14px;
}

.complaint-form-footer {
  align-items: center;
  background: #f7fafc;
  border: 1px solid var(--legal-line);
  border-radius: 7px;
  display: flex;
  gap: 22px;
  justify-content: space-between;
  padding: 16px;
}

.complaint-form-footer > div {
  display: grid;
  gap: 2px;
}

.complaint-form-footer strong {
  color: var(--legal-ink);
  font-size: 11px;
}

.complaint-form-footer span {
  color: var(--legal-muted);
  font-size: 9px;
}

.complaint-form-message {
  font-size: 11px;
  font-weight: 750;
  margin: 10px 0 0;
  min-height: 0;
}

.complaint-form-message.is-error {
  color: var(--legal-danger);
}

.complaint-form-message.is-success {
  color: var(--legal-success);
}

.complaint-aftercare {
  background: #f8fbfd;
  margin: 0 !important;
  padding: 28px clamp(24px, 5vw, 58px) !important;
}

.legal-sources > ul {
  display: grid;
  gap: 10px;
  list-style: none;
  margin: 0 clamp(24px, 5vw, 58px);
  padding: 30px 0 22px;
}

.legal-sources > ul li {
  border-bottom: 1px solid var(--legal-line);
  padding-bottom: 10px;
}

.legal-sources > ul a {
  display: inline-flex;
  font-size: 11px;
  font-weight: 780;
}

.legal-sources > p {
  color: var(--legal-muted);
  font-size: 10px;
  margin: 0 clamp(24px, 5vw, 58px);
  padding: 0 0 32px;
}

.legal-footer {
  align-items: center;
  background: #eef4f8;
  border-top: 1px solid var(--legal-line);
  display: grid;
  gap: 24px;
  grid-template-columns: minmax(260px, 1fr) auto auto;
  padding: 28px clamp(20px, 5vw, 72px);
}

.legal-footer > div {
  align-items: center;
  display: flex;
  gap: 14px;
}

.legal-footer img {
  height: 48px;
  object-fit: contain;
  width: 120px;
}

.legal-footer p {
  color: var(--legal-muted);
  font-size: 10px;
  line-height: 1.4;
  margin: 0;
  max-width: 280px;
}

.legal-footer nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  justify-content: center;
}

.legal-footer nav a {
  color: var(--legal-brand-900);
  font-size: 10px;
  font-weight: 800;
  text-decoration: none;
}

.legal-footer small {
  color: var(--legal-muted);
  font-size: 9px;
  text-align: right;
}

.cookie-banner {
  align-items: center;
  background: #fff;
  border: 1px solid var(--legal-line);
  border-radius: 10px;
  bottom: 18px;
  box-shadow: 0 24px 70px rgba(23, 32, 51, 0.2);
  display: flex;
  gap: 24px;
  justify-content: space-between;
  left: 50%;
  max-width: min(960px, calc(100vw - 36px));
  padding: 17px 18px;
  position: fixed;
  transform: translateX(-50%);
  width: calc(100% - 36px);
  z-index: 300;
}

.cookie-banner[hidden] {
  display: none;
}

.cookie-banner > div:first-child {
  min-width: 0;
}

.cookie-banner strong {
  color: var(--legal-ink);
  display: block;
  font-size: 12px;
}

.cookie-banner p {
  color: var(--legal-muted);
  font-size: 10px;
  line-height: 1.45;
  margin: 3px 0 0;
}

.cookie-banner > div:last-child {
  display: flex;
  flex: 0 0 auto;
  gap: 9px;
}

.legal-back-top {
  align-items: center;
  background: var(--legal-brand-900);
  border: 0;
  border-radius: 50%;
  bottom: 22px;
  color: #fff;
  cursor: pointer;
  display: flex;
  font-size: 18px;
  height: 42px;
  justify-content: center;
  position: fixed;
  right: 22px;
  width: 42px;
  z-index: 80;
}

.legal-back-top[hidden] {
  display: none;
}

@media (max-width: 1080px) {
  .legal-layout {
    grid-template-columns: 200px minmax(0, 1fr);
  }

  .legal-sidebar {
    top: 92px;
  }

  .legal-footer {
    grid-template-columns: 1fr auto;
  }

  .legal-footer small {
    grid-column: 1 / -1;
    text-align: left;
  }
}

@media (max-width: 860px) {
  html {
    scroll-padding-top: 78px;
  }

  .legal-header {
    height: 68px;
    padding-left: 18px;
    padding-right: 18px;
  }

  .legal-brand img {
    height: 44px;
    width: 112px;
  }

  .legal-header nav a:not(.legal-header-cta) {
    display: none;
  }

  .legal-header .legal-header-cta {
    font-size: 10px;
    padding: 9px 11px;
  }

  .legal-page main {
    padding-left: 16px;
    padding-right: 16px;
  }

  .legal-hero {
    gap: 30px;
    grid-template-columns: minmax(0, 1fr);
    padding-top: 48px;
  }

  .legal-identity-card {
    max-width: none;
  }

  .legal-layout {
    display: block;
  }

  .legal-sidebar {
    margin-bottom: 20px;
    position: static;
  }

  .legal-index {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding: 10px;
    scrollbar-width: thin;
  }

  .legal-index > span,
  .legal-help-card {
    display: none;
  }

  .legal-index a {
    border: 1px solid var(--legal-line);
    border-radius: 999px;
    flex: 0 0 auto;
    padding: 8px 11px;
  }

  .legal-index a:hover,
  .legal-index a.active {
    border-color: var(--legal-brand-400);
  }

  .legal-data-grid,
  .legal-cookie-list {
    grid-template-columns: minmax(0, 1fr);
  }

  .complaint-provider-summary {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .complaint-provider-summary > div:nth-child(2) {
    border-right: 0;
  }

  .complaint-provider-summary > div:nth-child(n + 3) {
    border-top: 1px solid var(--legal-line);
  }

  .complaint-provider-summary > div:nth-child(3) {
    padding-left: 0;
  }

  .legal-footer {
    align-items: start;
    grid-template-columns: minmax(0, 1fr);
  }

  .legal-footer nav {
    justify-content: flex-start;
  }

  .cookie-banner {
    align-items: stretch;
    display: grid;
    gap: 14px;
  }

  .cookie-banner > div:last-child {
    justify-content: flex-end;
  }
}

@media (max-width: 600px) {
  .legal-hero h1 {
    font-size: 42px;
  }

  .legal-hero-meta {
    display: grid;
  }

  .legal-identity-card dl div {
    grid-template-columns: 66px minmax(0, 1fr);
  }

  .legal-configuration-notice {
    grid-template-columns: minmax(0, 1fr);
  }

  .legal-notice-icon {
    display: none;
  }

  .legal-document-header {
    gap: 13px;
    grid-template-columns: minmax(0, 1fr);
    padding: 23px 20px;
  }

  .legal-section-number {
    height: 32px;
    width: 32px;
  }

  .legal-document-header h2 {
    font-size: 27px;
  }

  .legal-document > section {
    margin-left: 20px;
    margin-right: 20px;
    padding-bottom: 25px;
    padding-top: 25px;
  }

  .complaint-provider-summary,
  .complaint-guidance,
  .complaint-choice-row,
  .complaint-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .complaint-provider-summary > div {
    border-right: 0;
    border-top: 1px solid var(--legal-line);
    padding-left: 0;
  }

  .complaint-provider-summary > div:first-child {
    border-top: 0;
  }

  .complaint-guidance,
  .complaint-lock,
  .complaint-form {
    margin-left: 20px !important;
    margin-right: 20px !important;
  }

  .complaint-wide {
    grid-column: auto;
  }

  .complaint-form-footer,
  .cookie-preference-actions {
    align-items: stretch;
    display: grid;
  }

  .complaint-form-footer .legal-button,
  .cookie-preference-actions .legal-button {
    width: 100%;
  }

  .legal-footer > div {
    align-items: flex-start;
    display: grid;
  }

  .cookie-banner > div:last-child {
    display: grid;
  }

  .cookie-banner .legal-button {
    width: 100%;
  }

  .legal-back-top {
    bottom: 16px;
    right: 16px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}

@media print {
  .legal-header,
  .legal-sidebar,
  .legal-configuration-notice,
  .cookie-banner,
  .legal-back-top,
  .cookie-preferences,
  .complaint-form,
  .complaint-lock,
  .legal-footer {
    display: none !important;
  }

  body.legal-page {
    background: #fff;
    color: #000;
  }

  .legal-page main {
    max-width: none;
    padding: 0;
  }

  .legal-hero {
    grid-template-columns: 1fr;
    padding: 0 0 24px;
  }

  .legal-identity-card {
    background: #fff;
    border: 1px solid #bbb;
    box-shadow: none;
    color: #000;
  }

  .legal-identity-card a,
  .legal-identity-card a[aria-disabled="true"],
  .legal-identity-card > span,
  .legal-identity-card dt {
    color: #333;
  }

  .legal-document {
    border: 0;
    box-shadow: none;
    break-after: page;
    overflow: visible;
  }

  .legal-document-header {
    background: #fff;
    padding-left: 0;
    padding-right: 0;
  }

  .legal-document > section,
  .legal-sources > ul,
  .legal-sources > p {
    margin-left: 0;
    margin-right: 0;
  }

  .legal-document section,
  .legal-data-grid > div,
  .legal-cookie-list > div {
    break-inside: avoid;
  }
}
