:root {
  color-scheme: light;
  --accent: #3a86ff;
  --ink: #111111;
  --muted: #5d6470;
  --line: #dfe3e8;
  --surface: #f5f7fa;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: #ffffff;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

a {
  color: #175fc7;
}

a:hover {
  color: #0d438f;
}

:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 4px;
}

.legal-skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 10;
  padding: 10px 16px;
  color: #ffffff;
  background: var(--ink);
  transform: translateY(-200%);
}

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

.legal-header {
  border-bottom: 1px solid var(--line);
  background: #ffffff;
}

.legal-header-inner,
.legal-main,
.legal-footer-inner {
  width: min(100% - 40px, 920px);
  margin-inline: auto;
}

.legal-header-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.legal-logo {
  color: var(--ink);
  font-size: 24px;
  font-weight: 700;
  text-decoration: none;
}

.legal-back {
  font-weight: 700;
  text-decoration: none;
}

.legal-main {
  padding-block: 72px 96px;
}

.legal-eyebrow {
  margin: 0 0 12px;
  color: #175fc7;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1 {
  max-width: 760px;
  margin: 0 0 16px;
  font-size: clamp(36px, 7vw, 64px);
  line-height: 1.08;
}

.legal-updated {
  margin: 0 0 48px;
  color: var(--muted);
}

.legal-summary {
  margin-bottom: 48px;
  padding: 24px;
  border-left: 4px solid var(--accent);
  background: var(--surface);
}

.legal-summary p {
  margin: 0;
}

.legal-section {
  padding-block: 28px;
  border-top: 1px solid var(--line);
}

.legal-section h2 {
  margin: 0 0 14px;
  font-size: clamp(24px, 4vw, 32px);
  line-height: 1.25;
}

.legal-section h3 {
  margin: 24px 0 8px;
  font-size: 19px;
}

.legal-section p,
.legal-section ul {
  margin-top: 0;
}

.legal-section li + li {
  margin-top: 8px;
}

.legal-table-wrap {
  overflow-x: auto;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
}

.legal-table th,
.legal-table td {
  padding: 14px;
  border: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.legal-table th {
  background: var(--surface);
}

.legal-footer {
  padding-block: 36px;
  color: rgba(255, 255, 255, 0.75);
  background: var(--ink);
}

.legal-footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 18px;
}

.legal-footer p {
  margin: 0;
}

.legal-footer a {
  color: #ffffff;
}

@media (max-width: 600px) {
  .legal-header-inner {
    min-height: 72px;
  }

  .legal-main {
    padding-block: 48px 72px;
  }

  .legal-summary {
    padding: 20px;
  }
}

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