html {
  min-height: 100%;
  max-width: 100%;
  overflow-x: hidden !important;
}

body {
  min-width: 320px;
  max-width: 100%;
  width: auto !important;
  overflow-x: hidden !important;
  margin: 0;
  background: #f5f5f5;
  color: #3c3c3c;
  font-family: Arial, "Helvetica Neue", Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.5;
}

.legal-header *,
.legal-main *,
footer * {
  box-sizing: border-box;
  max-width: 100%;
}

.legal-header {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden !important;
  background: #fff;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.28);
}

.legal-header-inner {
  box-sizing: border-box;
  width: calc(100% - 32px);
  max-width: 980px;
  min-height: 102px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
}

.legal-logo {
  display: flex;
  align-items: center;
  flex: 0 1 auto;
  gap: 14px;
  color: #7f7f7f;
  text-decoration: none;
}

.legal-logo img {
  display: block;
  width: 135px;
  max-width: 135px;
  height: 56px;
}

.legal-tagline {
  display: block;
  width: 175px;
  color: #7f7f7f;
  font-family: Roboto, Arial, sans-serif;
  font-size: 15px;
  line-height: 1.25;
}

.legal-nav {
  display: flex;
  align-items: center;
  flex: 0 1 auto;
  flex-wrap: wrap;
  gap: 14px;
  margin-left: auto;
}

.legal-nav a {
  display: block;
  color: #2e3192;
  font-family: Roboto, Arial, sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-decoration: none;
  text-transform: uppercase;
}

.legal-nav a:hover {
  color: #00bde7;
}

.legal-phone {
  flex: 0 0 auto;
  color: #757272;
  font-family: Asap, Arial, sans-serif;
  font-size: 24px;
  font-weight: 700;
  white-space: nowrap;
}

.legal-main {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden !important;
  background: #f5f5f5;
}

.legal-hero {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden !important;
  background: #006699 url("../images/pattern_13.png?crc=3883989633") repeat left top;
  color: #fff;
}

.legal-hero-inner {
  box-sizing: border-box;
  width: calc(100% - 32px);
  max-width: 980px;
  margin: 0 auto;
  padding: 42px 0 38px;
}

.legal-kicker {
  margin: 0 0 8px;
  color: rgba(255, 255, 255, 0.78);
  font-family: Roboto, Arial, sans-serif;
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.legal-hero h1 {
  max-width: 760px;
  margin: 0;
  color: #fff;
  font-family: Roboto, Arial, sans-serif;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.legal-hero p {
  max-width: 720px;
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 17px;
}

.legal-page {
  box-sizing: border-box;
  width: calc(100% - 32px);
  max-width: 980px;
  margin: 28px auto 42px;
  padding: 34px 40px 42px;
  background: #fff;
  border: 1px solid #dedede;
  overflow-wrap: anywhere;
  overflow-x: hidden;
  word-break: normal;
}

.legal-page h2 {
  margin: 30px 0 10px;
  color: #333;
  font-family: Roboto, Arial, sans-serif;
  font-size: 21px;
  font-weight: 700;
  line-height: 1.3;
}

.legal-page h2:first-of-type {
  margin-top: 0;
}

.legal-page p,
.legal-page li {
  margin: 8px 0;
  color: #4f4f4f;
  font-size: 16px;
  line-height: 1.55;
}

.legal-page ul {
  margin: 8px 0 18px 24px;
  padding: 0;
}

.legal-page li {
  list-style: disc;
}

.legal-page a {
  color: #2e3192;
}

.back-link {
  display: inline-block;
  margin-bottom: 24px;
  color: #2e3192;
  font-size: 14px;
}

.legal-footer-top {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden !important;
  background: #3c3c3c;
}

.legal-footer-top-inner {
  box-sizing: border-box;
  width: calc(100% - 32px);
  max-width: 980px;
  min-height: 150px;
  margin: 0 auto;
  padding: 28px 0;
  display: flex;
  justify-content: space-between;
  gap: 40px;
  color: #dfdfdf;
}

.legal-footer-brand {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 22px;
}

.legal-footer-brand img {
  max-width: 100%;
  height: auto;
  opacity: 0.45;
}

.legal-footer-top h2 {
  margin: 0 0 10px;
  color: #fff;
  font-family: Roboto, Arial, sans-serif;
  font-size: 14px;
  font-weight: 400;
  text-transform: uppercase;
}

.legal-footer-top p {
  margin: 4px 0;
  color: #dfdfdf;
  font-size: 13px;
  line-height: 1.3;
}

.legal-footer-bottom {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden !important;
  background: #5d5d5a;
}

.legal-footer-bottom-inner {
  box-sizing: border-box;
  width: calc(100% - 32px);
  max-width: 980px;
  min-height: 58px;
  margin: 0 auto;
  padding: 10px 0;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  color: #b3b3b3;
  font-size: 12px;
  line-height: 1.4;
}

.legal-footer-bottom p {
  margin: 0 0 4px;
}

.legal-footer-bottom a {
  color: #b3b3b3;
  text-decoration: underline;
}

.legal-footer-bottom a:hover {
  color: #fff;
}

@media (max-width: 900px) {
  .legal-header-inner,
  .legal-footer-top-inner,
  .legal-footer-bottom-inner {
    flex-direction: column;
    align-items: flex-start;
    width: calc(100% - 24px);
  }

  .legal-header-inner {
    padding: 18px 0;
  }

  .legal-nav {
    width: 100%;
    margin-left: 0;
    flex-wrap: wrap;
    gap: 12px 16px;
  }

  .legal-nav a {
    white-space: normal;
  }

  .legal-phone {
    white-space: normal;
  }

  .legal-page {
    width: calc(100% - 24px);
    padding: 26px 22px 32px;
  }

  .legal-page p,
  .legal-page li {
    overflow-wrap: anywhere;
  }

  .legal-hero-inner {
    width: calc(100% - 24px);
  }
}

@media (max-width: 560px) {
  .legal-logo {
    align-items: flex-start;
    flex-direction: column;
    width: 100%;
  }

  .legal-tagline {
    width: auto;
  }

  .legal-hero h1 {
    font-size: 27px;
    overflow-wrap: break-word;
  }

  .legal-hero-inner {
    padding: 30px 0;
  }
}
