.wt-skip-link {
  position: fixed;
  z-index: 1000000;
  top: 10px;
  left: 10px;
  padding: 11px 16px;
  border-radius: 10px;
  background: #1769ff;
  color: #fff;
  font: 800 14px/1.2 Inter, ui-sans-serif, system-ui, sans-serif;
  text-decoration: none;
  transform: translateY(-160%);
  transition: transform .16s ease;
}

.wt-skip-link:focus {
  transform: translateY(0);
}

.wt-language-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-width: 48px;
  height: 38px;
  padding: 0 11px;
  border: 1px solid #d9e1ec;
  border-radius: 999px;
  background: #fff;
  color: #17233a;
  font: 900 12px/1 Inter, ui-sans-serif, system-ui, sans-serif;
  letter-spacing: .04em;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(15, 23, 42, .05);
}

.wt-language-toggle:hover {
  border-color: #8fb5ff;
  color: #1769ff;
}

.wt-language-toggle--floating {
  position: fixed;
  z-index: 99998;
  top: 20px;
  right: 104px;
}

html[data-theme="dark"] .wt-language-toggle {
  border-color: #315078;
  background: #132239;
  color: #f2f6fc;
}

html[data-theme="dark"] .wt-language-toggle:hover {
  border-color: #7faaff;
  color: #a9c5ff;
}

:where(a, button, input, select, textarea, [tabindex]):focus-visible {
  outline: 3px solid #4d8dff !important;
  outline-offset: 3px !important;
}

[role="dialog"][aria-modal="true"] {
  scroll-margin-top: 24px;
}

.wt-sr-live {
  position: fixed;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

html[data-theme="dark"] .legal-header,
html[data-theme="dark"] .legal-footer {
  background: rgba(14, 26, 44, .97);
}

html[data-theme="dark"] body {
  --ink: #f2f6fc;
  --muted: #aebdd1;
  --line: #2a405f;
  --surface: #0e1a2c;
  --page: #07101f;
  color: var(--ink);
  background: var(--page);
}

html[data-theme="dark"] .legal-brand,
html[data-theme="dark"] .legal-content strong {
  color: #f2f6fc;
}

html[data-theme="dark"] .legal-hero,
html[data-theme="dark"] .legal-card {
  border-color: var(--line);
  background: var(--surface);
}

html[data-theme="dark"] .legal-note,
html[data-theme="dark"] .legal-table th {
  border-color: #315078;
  background: #132846;
}

@media (max-width: 760px) {
  .wt-language-toggle {
    min-width: 44px;
    height: 36px;
    padding: 0 9px;
  }

  .wt-language-toggle--floating {
    top: 18px;
    right: 96px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
