.legal-hero {
  background: linear-gradient(120deg,#f2f8f7,#fbfefd 75%);
  border-bottom: 1px solid #e9f3f1;
  padding: 44px 0 38px;
}
.legal-hero-grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
  min-height: 235px;
}
.legal-hero h1 {
  font-size: 45px;
  line-height: 1.7;
  margin: 0 0 11px;
  letter-spacing: 0;
}
.legal-hero .eyebrow {
  display: block;
  font-size: 11px;
  margin-bottom: 4px;
}
.legal-hero p {
  font-size: 15px;
  max-width: 550px;
}
.back {
  display: flex;
  gap: 7px;
  align-items: center;
  font-size: 11px;
  color: #8ba6a0;
  margin-bottom: 27px;
}
.back svg {
  transform: rotate(180deg);
  width: 15px;
  height: 15px;
}
.back:hover {
  color: var(--purple);
}
.updated {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 22px;
  background: white;
  border: 1px solid #e3efec;
  border-radius: 30px;
  padding: 5px 12px;
  font-size: 10px;
  color: #839d98;
}
.updated i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #9cbcb6;
}
.legal-illustration {
  width: 295px;
  height: auto;
  margin-left: 55px;
}
.legal-tabs {
  display: flex;
  align-items: center;
  gap: 32px;
  border-bottom: 1px solid var(--line);
  min-height: 76px;
}
.legal-tabs>a {
  font-size: 13px;
  color: #839a95;
  padding: 23px 0;
  position: relative;
}
.legal-tabs>a[aria-current] {
  color: var(--purple);
  font-weight: 700;
}
.legal-tabs>a[aria-current]:after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--purple);
  border-radius: 2px;
}
.legal-tabs .legal-contact {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  margin-right: auto;
  color: #90a4a0;
}
.legal-contact svg {
  width: 15px;
  height: 15px;
}
.legal-layout {
  display: grid;
  grid-template-columns: 240px minmax(0,1fr);
  gap: 72px;
  padding-top: 48px;
  padding-bottom: 80px;
  align-items: start;
}
.legal-aside {
  position: sticky;
  top: 116px;
}
.toc {
  border: 1px solid #e6f0ee;
  border-radius: 12px;
  padding: 19px 16px;
  background: #fbfefd;
}
.toc-caption {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: #7d9993;
  margin: 0 8px 13px;
}
.toc nav {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.toc a {
  font-size: 12px;
  line-height: 1.7;
  color: #748683;
  padding: 7px 9px;
  border-radius: 5px;
  transition: background .15s,color .15s;
}
.toc a:hover,.toc a:focus-visible {
  color: var(--purple);
  background: #eaf5f3;
}
.legal-help {
  margin-top: 18px;
  background: #f2f9f8;
  border: 1px solid #e1efec;
  border-radius: 12px;
  padding: 21px;
}
.legal-help>svg {
  width: 24px;
  height: 24px;
  color: #9abbb4;
  margin-bottom: 6px;
}
.legal-help h3 {
  font-size: 16px;
  color: #73958e;
  margin-bottom: 5px;
}
.legal-help p {
  font-size: 11px;
  margin-bottom: 12px;
  color: #92a6a2;
}
.legal-help a {
  font-size: 11px;
  color: #77a89e;
}
.legal-content {
  max-width: 850px;
  min-width: 0;
}
.legal-content p,.legal-content li {
  font-size: 15px;
  line-height: 2.1;
  color: #687875;
}
.legal-content p {
  margin-bottom: 16px;
}
.legal-content strong {
  font-weight: 700;
  color: #4b5c59;
}
.legal-intro {
  background: #f6fbfa;
  border: 1px solid #e8f3f1;
  border-right: 3px solid #b6d6d0;
  border-radius: 9px;
  padding: 22px 26px;
  margin-bottom: 34px;
}
.legal-intro p:last-child {
  margin-bottom: 0;
}
.legal-chapter {
  padding-bottom: 27px;
  margin-bottom: 31px;
  border-bottom: 1px solid #ebf2f1;
}
.legal-chapter h2 {
  font-size: 25px;
  line-height: 1.7;
  color: #456c64;
  margin-bottom: 17px;
  scroll-margin-top: 120px;
}
.legal-chapter h3 {
  font-size: 18px;
  color: #73958e;
  line-height: 1.8;
  margin: 23px 0 12px;
}
.legal-content ul {
  padding-right: 22px;
  margin: 12px 0 18px;
}
.legal-content li {
  padding-right: 5px;
  margin-bottom: 10px;
}
.legal-content li::marker {
  color: #aac8c2;
  font-size: .75em;
}
.legal-content a {
  color: var(--purple);
  text-decoration: underline;
  text-decoration-color: #cce6e1;
  text-underline-offset: 5px;
}
.legal-content bdi {
  overflow-wrap: anywhere;
}
.table-scroll {
  width: 100%;
  overflow-x: auto;
  border: 1px solid #e3edeb;
  border-radius: 10px;
  margin: 20px 0 24px;
}
.legal-content table {
  width: 100%;
  border-collapse: collapse;
  text-align: right;
  font-size: 13px;
  line-height: 1.9;
}
.legal-content th {
  font-weight: 700;
  color: #76958f;
  background: #f2f8f7;
  border-bottom: 1px solid #e1ecea;
  padding: 13px 17px;
  white-space: nowrap;
}
.legal-content td {
  padding: 14px 17px;
  color: #718783;
  border-bottom: 1px solid #eaf2f1;
  vertical-align: top;
  min-width: 115px;
}
.legal-content tr:last-child td {
  border-bottom: 0;
}
.legal-content tr:nth-child(even) td {
  background: #fbfefd;
}
.legal-content .note {
  background: #f3f9f8;
  border-right: 3px solid #aacdc6;
  border-radius: 7px;
  padding: 17px 22px;
  margin: 20px 0;
}
.legal-content .note p {
  font-size: 13px;
  line-height: 2;
  margin: 0;
  color: #7a9791;
}
.legal-content .note strong {
  color: #668d85;
}
.legal-end {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 11px;
  color: #98ada9;
}
.legal-end a {
  font-size: 11px;
  text-decoration: none;
}
@media(max-width:1100px) {
  .legal-layout {
    gap: 42px;
    grid-template-columns: 220px minmax(0,1fr);
  }
  .legal-illustration {
    margin-left: 15px;
  }
  .legal-content p,.legal-content li {
    font-size: 14px;
  }
  .legal-chapter h2 {
    font-size: 23px;
  }
}
@media(max-width:900px) {
  .legal-hero h1 {
    font-size: 37px;
  }
  .legal-illustration {
    width: 230px;
    margin: 0;
  }
  .legal-hero-grid {
    gap: 25px;
  }
  .legal-hero p {
    font-size: 13px;
  }
  .legal-layout {
    grid-template-columns: 195px minmax(0,1fr);
    gap: 28px;
    padding-top: 32px;
  }
  .toc {
    padding: 15px 10px;
  }
  .toc a {
    font-size: 10px;
  }
  .legal-aside {
    top: 99px;
  }
  .legal-help {
    padding: 16px;
  }
  .legal-help h3 {
    font-size: 14px;
  }
  .legal-help p,.legal-help a {
    font-size: 10px;
  }
  .legal-chapter h2 {
    font-size: 21px;
  }
  .legal-content p,.legal-content li {
    font-size: 13px;
  }
  .legal-intro {
    padding: 18px;
  }
  .legal-content th,.legal-content td {
    padding: 11px;
    font-size: 12px;
  }
}
@media(max-width:600px) {
  .legal-hero {
    padding: 26px 0 27px;
    overflow: hidden;
  }
  .legal-hero-grid {
    position: relative;
    min-height: 215px;
    display: block;
  }
  .legal-hero h1 {
    font-size: 32px;
    position: relative;
    z-index: 1;
  }
  .legal-hero p {
    font-size: 12px;
    max-width: 250px;
    position: relative;
    z-index: 1;
  }
  .legal-hero .eyebrow {
    font-size: 10px;
  }
  .back {
    font-size: 10px;
    margin-bottom: 25px;
  }
  .legal-illustration {
    position: absolute;
    left: -30px;
    top: 13px;
    width: 138px;
    opacity: .25;
    pointer-events: none;
  }
  .updated {
    font-size: 9px;
    margin-top: 18px;
    padding: 4px 10px;
  }
  .legal-tabs {
    gap: 25px;
    min-height: 64px;
  }
  .legal-tabs>a {
    font-size: 12px;
    padding: 20px 0;
  }
  .legal-tabs .legal-contact {
    display: none;
  }
  .legal-layout {
    display: flex;
    flex-direction: column;
    gap: 26px;
    padding-top: 27px;
    padding-bottom: 45px;
  }
  .legal-aside {
    position: static;
    width: 100%;
  }
  .toc {
    padding: 16px;
  }
  .toc-caption {
    font-size: 11px;
    margin-bottom: 12px;
  }
  .toc nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3px 10px;
  }
  .toc a {
    font-size: 10px;
    padding: 5px 6px;
  }
  .legal-help {
    display: none;
  }
  .legal-intro {
    padding: 16px 19px;
    margin-bottom: 27px;
  }
  .legal-content p,.legal-content li {
    font-size: 13px;
    line-height: 2.05;
  }
  .legal-chapter h2 {
    font-size: 22px;
    scroll-margin-top: 89px;
  }
  .legal-chapter h3 {
    font-size: 17px;
  }
  .legal-chapter {
    padding-bottom: 18px;
    margin-bottom: 26px;
  }
  .legal-content ul {
    padding-right: 17px;
  }
  .legal-content td {
    font-size: 11px;
    min-width: 90px;
  }
  .legal-content th {
    font-size: 11px;
  }
  .legal-content .note {
    padding: 14px 17px;
  }
  .legal-content .note p {
    font-size: 12px;
  }
  .legal-end {
    font-size: 10px;
    gap: 15px;
  }
  .legal-end a {
    font-size: 10px;
    white-space: nowrap;
  }
}
@media print {
  .site-header,.site-footer,.legal-aside,.legal-tabs,.back {
    display: none;
  }
  .wrap {
    width: 100%;
  }
  .legal-layout {
    display: block;
    padding: 0;
  }
  .legal-content {
    max-width: none;
  }
  .legal-hero {
    padding: 0 0 20px;
    background: none;
  }
  .legal-illustration {
    display: none;
  }
  .legal-hero-grid {
    min-height: 0;
  }
  .legal-chapter {
    break-inside: avoid;
  }
  .table-scroll {
    overflow: visible;
  }
  .legal-content p,.legal-content li {
    font-size: 11pt;
    color: #222;
  }
}
