:root,
.tl-skin-light {
  --tl-bg: #ffffff;
  --tl-fg: #333333;
  --tl-muted: #8c8c8c;
  --tl-accent: #179cde;
  --tl-rule: rgba(0, 0, 0, 0.1);
}
html.tl-dark {
  --tl-bg: #12181f;
  --tl-fg: #dbe1e8;
  --tl-muted: #87919e;
  --tl-accent: #3aa3e8;
  --tl-rule: rgba(255, 255, 255, 0.14);
}

html { background: var(--tl-bg); }
body {
  background: var(--tl-bg);
  color: var(--tl-fg);
}

.tl_page_footer,
.tl_page_footer_link,
.tl_page_footer_org { color: var(--tl-muted); }
.tl_page_footer_link:hover { color: var(--tl-accent); }

.tl_legal_wrap {
  max-width: 640px;
  margin: 0 auto;
  padding: 20px 0 60px;
}

.tl_legal_title {
  color: var(--tl-fg);
  font-size: 32px;
  font-weight: 500;
  line-height: 1.25;
  margin: 0;
}

.tl_legal_updated {
  color: var(--tl-muted);
  font-size: 14px;
  margin: 10px 0 0;
}

.tl_legal_heading {
  color: var(--tl-fg);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.3;
  margin: 48px 0 0;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--tl-rule);
}

.tl_legal_wrap p {
  font-size: 15px;
  line-height: 1.65;
  margin: 18px 0 0;
}

.tl_legal_address {
  line-height: 1.75;
}

.tl_legal_wrap a {
  color: var(--tl-accent);
  text-decoration: none;
}
.tl_legal_wrap a:hover {
  text-decoration: underline;
}

@media (max-width: 767px) {
  .tl_legal_wrap { padding: 10px 0 40px; }
  .tl_legal_title { font-size: 26px; }
  .tl_legal_heading { font-size: 18px; margin-top: 36px; }
}

.tl_legal_wrap > p:first-of-type + p { margin-top: 26px; }

.tl_legal_toc {
  margin: 26px 0 0;
  padding-left: 22px;
}
.tl_legal_toc li {
  font-size: 15px;
  line-height: 1.7;
}

.tl_legal_wrap ul,
.tl_legal_wrap ol {
  font-size: 15px;
  line-height: 1.65;
}
.tl_legal_wrap ul {
  margin: 14px 0 0;
  padding-left: 22px;
}
.tl_legal_wrap li { margin-top: 6px; }

.tl_legal_wrap strong { font-weight: 600; }

.tl_legal_subheading {
  color: var(--tl-fg);
  font-size: 16px;
  font-weight: 600;
  line-height: 1.4;
  margin: 30px 0 0;
}
@media (max-width: 767px) {
  .tl_legal_subheading { font-size: 15px; margin-top: 26px; }
}

.tl_page_footer_org a.tl_page_footer_link { color: inherit; }
.tl_page_footer_org a.tl_page_footer_link:hover {
  color: var(--tl-accent);
  text-decoration: none;
}

.tl_legal_heading,
.tl_legal_subheading { scroll-margin-top: 24px; }

.tl_toc {
  position: fixed;
  right: 24px;
  z-index: 4;
  overflow-y: auto;
  scrollbar-width: none;
}
.tl_toc::-webkit-scrollbar { display: none; }
.tl_toc.tl_toc_no_room { display: none; }

.tl_toc ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
.tl_toc a {
  display: block;
  padding: 4px 0 4px 12px;
  color: var(--tl-muted);
  font-size: 13px;
  line-height: 19px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-decoration: none;
  box-shadow: inset 1px 0 var(--tl-rule);
  transition: color .15s ease;
}
.tl_toc a:hover,
.tl_toc a:focus { color: var(--tl-fg); text-decoration: none; }
.tl_toc a.tl_toc_active {
  color: var(--tl-accent);
  box-shadow: inset 2px 0 var(--tl-accent);
}

.tl_toc_sub {
  display: none;
  position: relative;
  padding: 8px 0 !important;
}
.tl_toc_open > .tl_toc_sub { display: block; }
.tl_toc_sub a {
  margin-left: 12px;
  padding-left: 14px;
}
.tl_toc_sub:before,
.tl_toc_sub:after {
  content: "";
  position: absolute;
  left: 0;
  width: 14.4px;
  height: 1px;
  background: var(--tl-rule);
}
.tl_toc_sub:before {
  top: 0;
  transform-origin: 0 0;
  transform: rotate(33.7deg);
}
.tl_toc_sub:after {
  bottom: 0;
  transform-origin: 0 100%;
  transform: rotate(-33.7deg);
}
