.hubbix-legal-page {
  --legal-blue: #001e48;
  --legal-orange: #ff6600;
  --legal-muted: #5b687d;
  --legal-border: #e8edf3;
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  color: #26364f;
  margin: 0 auto 64px;
  max-width: 1100px;
  padding: 12px 0 56px;
}

.hubbix-legal-page,
.hubbix-legal-page * {
  box-sizing: border-box;
}

.hubbix-legal-header {
  border-bottom: 1px solid var(--legal-border);
  margin-bottom: 38px;
  padding: 26px 0 32px 18px;
  position: relative;
}

.hubbix-legal-header__marker {
  background: var(--legal-orange);
  border-radius: 2px;
  height: 42px;
  left: 0;
  position: absolute;
  top: 31px;
  width: 4px;
}

.hubbix-legal-header h1 {
  color: var(--legal-blue);
  font-size: clamp(1.75rem, 3vw, 2.125rem);
  font-weight: 700;
  letter-spacing: -.025em;
  line-height: 1.2;
  margin: 0 0 10px;
  text-transform: none;
}

.hubbix-legal-header__intro {
  color: var(--legal-muted);
  font-size: 1.05rem;
  line-height: 1.55;
  margin: 0 0 9px;
}

.hubbix-legal-header__updated {
  color: #788397;
  font-size: .875rem;
  line-height: 1.5;
  margin: 0;
}

.hubbix-legal-summary {
  background: #fff;
  border: 1px solid var(--legal-border);
  border-radius: 10px;
  box-shadow: 0 8px 22px rgba(0,30,72, .04);
  margin: 0 0 46px;
  padding: 25px 28px 27px;
}

.hubbix-legal-summary[hidden] {
  display: none;
}

.hubbix-legal-summary h2 {
  color: var(--legal-blue);
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .09em;
  margin: 0 0 18px;
  text-transform: uppercase;
}

.hubbix-legal-summary__list {
  column-gap: 42px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  list-style: none;
  margin: 0;
  padding: 0;
  row-gap: 3px;
}

.hubbix-legal-summary__list li {
  margin: 0;
  min-width: 0;
}

.hubbix-legal-summary__list a {
  border-radius: 4px;
  color: var(--legal-blue);
  display: block;
  font-size: .92rem;
  line-height: 1.45;
  padding: 7px 5px;
  text-decoration: none;
  transition: color .18s ease, background-color .18s ease;
}

.hubbix-legal-summary__list a span {
  color: var(--legal-orange);
  font-weight: 700;
}

.hubbix-legal-summary__list a:hover {
  background: #fff7f2;
  color: var(--legal-orange);
}

.hubbix-legal-summary__list a:focus-visible,
.hubbix-legal-content a:focus-visible {
  outline: 3px solid rgba(255, 102, 0, .28);
  outline-offset: 2px;
}

.hubbix-legal-content {
  font-size: 1rem;
  line-height: 1.72;
  margin: 0 auto;
  max-width: 960px;
}

.hubbix-legal-content .hubbix-legal-duplicate-title {
  display: none !important;
}

.hubbix-legal-content h1,
.hubbix-legal-content h2,
.hubbix-legal-content h3 {
  color: var(--legal-blue);
  font-weight: 700;
  line-height: 1.3;
  position: relative;
  text-transform: none;
}

.hubbix-legal-content h2 {
  font-size: clamp(1.22rem, 2vw, 1.375rem);
  margin: 36px 0 15px;
  padding-left: 16px;
  scroll-margin-top: 118px;
}

.hubbix-legal-content h2::before {
  background: var(--legal-orange);
  border-radius: 2px;
  content: '';
  height: 24px;
  left: 0;
  position: absolute;
  top: .12em;
  width: 3px;
}

.hubbix-legal-content h3 {
  font-size: 1.08rem;
  margin: 26px 0 12px;
  scroll-margin-top: 118px;
}

.hubbix-legal-content p {
  color: #34445c;
  font-size: inherit;
  font-weight: 400;
  line-height: inherit;
  margin: 0 0 13px;
}

.hubbix-legal-content ul,
.hubbix-legal-content ol {
  margin: 13px 0 19px;
  padding-left: 25px;
}

.hubbix-legal-content li {
  margin-bottom: 7px;
  padding-left: 4px;
}

.hubbix-legal-content ul li::marker {
  color: var(--legal-orange);
}

.hubbix-legal-content a {
  color: var(--legal-blue);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: rgba(255, 102, 0, .55);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.hubbix-legal-content a:hover {
  color: var(--legal-orange);
  text-decoration-color: currentColor;
}

.hubbix-legal-content blockquote {
  background: #f7f9fc;
  border: 1px solid var(--legal-border);
  border-left: 3px solid var(--legal-orange);
  border-radius: 8px;
  margin: 22px 0;
  padding: 20px 22px;
}

.hubbix-legal-content table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
}

@media (max-width: 767px) {
  .hubbix-legal-page {
    margin-bottom: 36px;
    padding: 0 0 34px;
  }

  .hubbix-legal-header {
    margin-bottom: 28px;
    padding: 20px 0 25px 14px;
  }

  .hubbix-legal-header__marker {
    height: 36px;
    top: 25px;
    width: 3px;
  }

  .hubbix-legal-header h1 {
    font-size: 1.75rem;
  }

  .hubbix-legal-header__intro {
    font-size: 1rem;
  }

  .hubbix-legal-summary {
    margin-bottom: 34px;
    padding: 21px 17px;
  }

  .hubbix-legal-summary__list {
    grid-template-columns: 1fr;
  }

  .hubbix-legal-content {
    font-size: .98rem;
    line-height: 1.7;
  }

  .hubbix-legal-content h2 {
    margin-top: 30px;
    scroll-margin-top: 100px;
  }

  .hubbix-legal-content ul,
  .hubbix-legal-content ol {
    padding-left: 21px;
  }
}
