:root {
  color-scheme: light;
  --page: #f3f7f9;
  --ink: #2e373d;
  --ink-soft: #4f5c64;
  --muted: #85929a;
  --line: #dfe7eb;
  --blue: #1697da;
  --blue-dark: #087dba;
  --blue-soft: #e7f4fb;
  --content: 760px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  background: var(--page);
  color: var(--ink-soft);
  font-family: "Source Serif 4", Georgia, "Times New Roman", serif;
  font-optical-sizing: auto;
  font-size: 18px;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration-color: rgba(79, 92, 100, 0.42);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 160ms ease, text-decoration-color 160ms ease;
}

a:hover {
  color: var(--blue-dark);
  text-decoration-color: currentColor;
}

a:focus-visible {
  outline: 3px solid rgba(22, 151, 218, 0.28);
  outline-offset: 4px;
}

.legal-header,
.legal-main {
  width: min(calc(100% - 48px), var(--content));
  margin-inline: auto;
}

.legal-header {
  padding-top: 42px;
  font-family: Manrope, Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}

.legal-brand {
  color: var(--ink);
  text-decoration: none;
}

.legal-main {
  padding: 70px 0 48px;
}

.legal-kicker {
  margin: 0 0 18px;
  color: var(--muted);
  font-family: Manrope, Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.4;
}

h1,
h2,
h3 {
  color: var(--ink);
  font-weight: 600;
  letter-spacing: -0.015em;
}

h1 {
  max-width: 700px;
  margin: 0;
  font-size: clamp(34px, 6vw, 50px);
  line-height: 1.08;
  text-wrap: balance;
}

.legal-lead {
  max-width: 680px;
  margin: 28px 0 0;
  color: var(--ink-soft);
  font-size: 21px;
  line-height: 1.55;
}

.legal-document {
  margin-top: 66px;
}

.legal-document section + section {
  margin-top: 50px;
}

h2 {
  margin: 0 0 20px;
  font-size: 25px;
  line-height: 1.25;
}

h3 {
  margin: 28px 0 12px;
  font-size: 19px;
  line-height: 1.35;
}

p {
  margin: 0 0 18px;
}

p:last-child {
  margin-bottom: 0;
}

code {
  color: var(--ink);
  font-size: 0.88em;
}

ul,
ol {
  margin: 0 0 20px;
  padding-left: 1.35em;
}

ol {
  padding-left: 1.55em;
}

li {
  margin-bottom: 8px;
  padding-left: 0.18em;
}

li:last-child {
  margin-bottom: 0;
}

.legal-note {
  margin: 28px 0;
  padding: 18px 20px;
  border-left: 3px solid var(--blue);
  background: rgba(231, 244, 251, 0.72);
}

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

.cookie-list {
  margin-top: 22px;
  border-top: 1px solid var(--line);
}

.cookie-item {
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.cookie-item h3 {
  margin-top: 0;
}

.cookie-meta {
  margin-top: 10px;
  color: var(--muted);
  font-family: Manrope, Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 13px;
  line-height: 1.5;
}

@media (max-width: 700px) {
  body {
    font-size: 16px;
    line-height: 1.62;
  }

  .legal-header,
  .legal-main {
    width: calc(100% - 44px);
  }

  .legal-header {
    padding-top: 28px;
  }

  .legal-main {
    padding-top: 52px;
  }

  h1 {
    font-size: clamp(31px, 10vw, 40px);
  }

  .legal-lead {
    margin-top: 22px;
    font-size: 18px;
  }

  .legal-document {
    margin-top: 52px;
  }

  .legal-document section + section {
    margin-top: 42px;
  }

  h2 {
    font-size: 22px;
  }

  .legal-note {
    margin-inline: -10px;
    padding: 16px 17px;
  }
}

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

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