@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("./fonts/manrope-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Manrope";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("./fonts/manrope-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Unbounded";
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url("./fonts/unbounded-cyrillic.woff2") format("woff2");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: "Unbounded";
  font-style: normal;
  font-weight: 500 600;
  font-display: swap;
  src: url("./fonts/unbounded-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --page: #f2f3f5;
  --ink: #111318;
  --muted: #606570;
  --line: #dfe1e6;
  --blue: #315cf6;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: "Manrope", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-underline-offset: 4px;
}

a:hover {
  color: var(--blue);
}

:focus-visible {
  outline: 3px solid rgba(49, 92, 246, .4);
  outline-offset: 3px;
}

.legal-header {
  min-height: 76px;
  padding: 0 max(20px, 4.8vw);
  border-bottom: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.legal-logo {
  font-family: "Unbounded", sans-serif;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -.04em;
  text-decoration: none;
}

.legal-back {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  font-size: 13px;
  font-weight: 700;
}

.legal-main {
  width: min(880px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(72px, 10vw, 132px) 0;
}

.legal-kicker {
  margin: 0;
  color: var(--blue);
  font-family: "Unbounded", sans-serif;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
}

h1 {
  max-width: 820px;
  margin: 24px 0 0;
  font-size: clamp(42px, 6vw, 72px);
  line-height: 1;
  letter-spacing: -.06em;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.legal-updated {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 13px;
}

.legal-content {
  margin-top: clamp(64px, 8vw, 96px);
}

.legal-content section {
  padding: 32px 0;
  border-top: 1px solid var(--line);
}

h2 {
  margin: 0;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.2;
  letter-spacing: -.04em;
}

p,
ul,
ol {
  max-width: 760px;
  margin: 18px 0 0;
  color: #454a54;
}

code {
  overflow-wrap: anywhere;
}

li + li {
  margin-top: 8px;
}

.legal-note {
  padding: 18px 20px;
  border-radius: 14px;
  background: white;
  color: var(--muted);
  font-size: 14px;
}

.legal-table-wrap {
  max-width: 760px;
  margin-top: 22px;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: white;
}

.legal-table-wrap table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

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

.legal-table-wrap th {
  color: var(--muted);
  font-size: 12px;
}

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

.legal-footer {
  padding: 28px max(20px, 4.8vw);
  border-top: 1px solid rgba(255, 255, 255, .12);
  background: #0d0f14;
  color: #a6abb5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  font-size: 12px;
}

.legal-footer a {
  color: white;
}

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

  .legal-main {
    width: min(100% - 36px, 880px);
  }

  h1 {
    font-size: clamp(30px, 9vw, 35px);
  }

  .legal-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}

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