@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;500;600;700&family=Ubuntu:wght@500;700&display=swap');

:root {
  color: #111111;
  background: #f4f4f4;
  font-family: 'Open Sans', sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-width: 320px;
  background: #f4f4f4;
}

a {
  color: #148bff;
  text-underline-offset: 3px;
}

.legal-header {
  background: #ffffff;
  border-bottom: 1px solid rgba(17, 17, 17, 0.1);
}

.legal-header__inner,
.legal-main,
.legal-footer__inner {
  width: min(880px, calc(100% - 40px));
  margin-inline: auto;
}

.legal-header__inner {
  display: flex;
  min-height: 82px;
  align-items: center;
  justify-content: space-between;
}

.legal-header img {
  width: 164px;
}

.legal-header a:last-child {
  color: #111111;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
}

.legal-main {
  margin-top: 56px;
  margin-bottom: 56px;
  padding: clamp(28px, 6vw, 64px);
  background: #ffffff;
  box-shadow: 0 16px 44px rgba(20, 36, 55, 0.08);
}

.legal-kicker {
  margin: 0 0 16px;
  color: #148bff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2 {
  font-family: 'Ubuntu', sans-serif;
  letter-spacing: -0.03em;
}

h1 {
  margin: 0 0 18px;
  font-size: clamp(34px, 6vw, 54px);
  line-height: 1.04;
}

h2 {
  margin: 42px 0 16px;
  font-size: 24px;
}

p,
li {
  color: #4f5864;
  font-size: 15px;
  line-height: 1.75;
}

ul,
ol {
  padding-left: 22px;
}

.legal-meta,
.legal-card {
  padding: 20px 22px;
  background: #f4f7fa;
  border-left: 3px solid #148bff;
}

.legal-meta {
  margin-bottom: 36px;
}

.legal-meta p,
.legal-card p {
  margin: 0;
}

.legal-footer {
  padding: 32px 0;
  color: #ffffff;
  background: #148bff;
}

.legal-footer__inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  font-size: 13px;
}

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

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

  .legal-header img {
    width: 138px;
  }

  .legal-header a:last-child {
    font-size: 12px;
  }

  .legal-main {
    width: 100%;
    margin: 0;
    box-shadow: none;
  }

  .legal-footer__inner {
    flex-direction: column;
  }
}
