html[data-design="new"] body.legal-shell {
  background:
    radial-gradient(circle at 8% 9%, rgba(201, 246, 90, 0.13), transparent 24rem),
    #eef0ea;
}

html[data-design="new"] .legal-page-container {
  width: min(100% - 40px, 1440px);
  margin: 0 auto;
  padding: 44px 0 72px;
}

html[data-design="new"] .legal-page {
  color: var(--v2-ink, #15231d);
}

html[data-design="new"] .legal-switcher {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: 0 0 18px;
  padding: 5px;
  border: 1px solid #d9ddd5;
  border-radius: 13px;
  background: rgba(255, 255, 252, 0.78);
  box-shadow: 0 10px 28px rgba(29, 40, 34, 0.05);
  backdrop-filter: blur(12px);
}

html[data-design="new"] .legal-switcher__label {
  padding: 0 12px 0 9px;
  color: #738078;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

html[data-design="new"] .legal-switcher a {
  min-width: 104px;
  padding: 9px 14px;
  border-radius: 9px;
  color: #68736d;
  font-size: 12px;
  font-weight: 760;
  text-align: center;
  text-decoration: none;
  transition: background 180ms ease, color 180ms ease, transform 180ms ease;
}

html[data-design="new"] .legal-switcher a:hover {
  color: #17241e;
}

html[data-design="new"] .legal-switcher a.is-active {
  background: #17251f;
  color: #fff;
}

html[data-design="new"] .legal-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  align-items: start;
  gap: 22px;
}

html[data-design="new"] .legal-document {
  width: 100%;
  max-width: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  border: 1px solid #dfe2dc;
  border-radius: 22px 22px 22px 7px;
  background: #fffefb;
  box-shadow: 0 18px 50px rgba(31, 43, 36, 0.08);
}

html[data-design="new"] .legal-document__hero {
  position: relative;
  padding: clamp(34px, 5vw, 62px);
  overflow: hidden;
  border: 0;
  background: #17251f;
  color: #fff;
}

html[data-design="new"] .legal-document__hero::after {
  position: absolute;
  top: -80px;
  right: -65px;
  width: 280px;
  height: 280px;
  border: 70px solid rgba(201, 246, 90, 0.08);
  border-radius: 50%;
  content: "";
}

html[data-design="new"] .legal-eyebrow {
  position: relative;
  z-index: 1;
  margin: 0 0 18px;
  color: #c9f65a;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

html[data-design="new"] .legal-document__hero > div {
  position: relative;
  z-index: 1;
  display: inline-grid;
  gap: 1px;
  float: right;
  margin: 0 0 20px 30px;
  padding: 11px 14px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.06);
  color: #acb8b1;
  font-size: 10px;
  line-height: 1.55;
  text-align: left;
}

html[data-design="new"] .legal-document__hero > div p:first-child {
  color: #c9f65a;
  font-size: 8px;
}

html[data-design="new"] .legal-document__hero h1 {
  position: relative;
  z-index: 1;
  max-width: 760px;
  margin: 0;
  color: #fff;
  font-size: clamp(34px, 5vw, 62px);
  font-weight: 870;
  letter-spacing: -0.06em;
  line-height: 0.98;
}

html[data-design="new"] .legal-document__hero > p:not(.legal-eyebrow) {
  position: relative;
  z-index: 1;
  max-width: 720px;
  margin: 17px 0 0;
  color: #aebbb4;
  font-size: 13px;
  line-height: 1.6;
}

html[data-design="new"] .legal-document__hero a {
  color: #d7fa81;
  text-decoration-color: rgba(215, 250, 129, 0.4);
}

html[data-design="new"] .legal-document__content {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: clamp(20px, 4vw, 42px);
  color: #4f5d55;
  font-size: 14px;
  line-height: 1.72;
}

html[data-design="new"] .legal-document__content > section {
  padding: clamp(20px, 3vw, 30px);
  border: 1px solid #e0e3dd;
  border-radius: 15px 15px 15px 5px;
  background: #f7f8f3;
}

html[data-design="new"] .legal-document__content > section:nth-child(even) {
  background: #fffefb;
}

html[data-design="new"] .legal-document__content h2 {
  margin: 0;
  color: #17251f;
  font-size: clamp(18px, 2vw, 23px);
  font-weight: 840;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

html[data-design="new"] .legal-document__content h3 {
  color: #293a32;
  font-size: 14px;
}

html[data-design="new"] .legal-document__content a {
  color: #634edb;
  font-weight: 700;
  text-decoration-color: #c9c1f4;
  text-underline-offset: 3px;
}

html[data-design="new"] .legal-document__content strong,
html[data-design="new"] .legal-document__content dt {
  color: #2d3c34;
}

html[data-design="new"] .legal-document__content dl > div,
html[data-design="new"] .legal-document__content section > div > div.rounded-xl {
  border-color: #dde1da;
  background: #fffefb;
}

html[data-design="new"] .legal-aside {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 12px;
}

html[data-design="new"] .legal-aside__card {
  position: relative;
  padding: 24px;
  overflow: hidden;
  border: 1px solid #d9ddd5;
  border-radius: 18px 18px 18px 6px;
  background: #fffefb;
}

html[data-design="new"] .legal-aside__number {
  position: absolute;
  top: 12px;
  right: 16px;
  color: #e5e8e1;
  font-size: 40px;
  font-weight: 900;
  letter-spacing: -0.08em;
  line-height: 1;
}

html[data-design="new"] .legal-aside__kicker {
  position: relative;
  margin: 0 0 8px;
  color: #6954e8;
  font-size: 9px;
  font-weight: 850;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

html[data-design="new"] .legal-aside h2 {
  position: relative;
  max-width: 180px;
  margin: 0;
  color: #18261f;
  font-size: 20px;
  font-weight: 840;
  letter-spacing: -0.035em;
  line-height: 1.12;
}

html[data-design="new"] .legal-aside dl {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
}

html[data-design="new"] .legal-aside dl div {
  display: grid;
  gap: 3px;
  padding-top: 12px;
  border-top: 1px solid #e4e6e1;
}

html[data-design="new"] .legal-aside dt {
  color: #869089;
  font-size: 9px;
  font-weight: 760;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

html[data-design="new"] .legal-aside dd {
  margin: 0;
  color: #3e4b44;
  font-size: 12px;
  font-weight: 700;
}

html[data-design="new"] .legal-aside__card--contact {
  background: #ebe7ff;
  border-color: #d8d0ff;
}

html[data-design="new"] .legal-aside__card--contact a {
  display: inline-block;
  margin-top: 18px;
  color: #5945ca;
  font-size: 11px;
  font-weight: 760;
  text-decoration: none;
}

html[data-design="new"] .legal-back {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 14px 17px;
  border-radius: 12px;
  color: #556159;
  font-size: 11px;
  font-weight: 760;
  text-decoration: none;
  transition: background 180ms ease, color 180ms ease;
}

html[data-design="new"] .legal-back:hover {
  background: rgba(255, 255, 252, 0.7);
  color: #17251f;
}

@media (max-width: 980px) {
  html[data-design="new"] .legal-layout {
    grid-template-columns: minmax(0, 1fr);
  }

  html[data-design="new"] .legal-aside {
    position: static;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  html[data-design="new"] .legal-back {
    grid-column: 1 / -1;
  }
}

@media (max-width: 640px) {
  html[data-design="new"] .legal-page-container {
    width: min(100% - 20px, 1440px);
    padding: 18px 0 44px;
  }

  html[data-design="new"] .legal-switcher {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: 100%;
  }

  html[data-design="new"] .legal-switcher__label {
    display: none;
  }

  html[data-design="new"] .legal-switcher a {
    min-width: 0;
  }

  html[data-design="new"] .legal-document {
    border-radius: 17px 17px 17px 5px;
  }

  html[data-design="new"] .legal-document__hero {
    padding: 30px 24px 34px;
  }

  html[data-design="new"] .legal-document__hero > div {
    float: none;
    margin: 0 0 24px;
  }

  html[data-design="new"] .legal-document__hero h1 {
    font-size: 35px;
  }

  html[data-design="new"] .legal-document__content {
    padding: 12px;
  }

  html[data-design="new"] .legal-document__content > section {
    padding: 19px 17px;
  }

  html[data-design="new"] .legal-aside {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (prefers-reduced-motion: reduce) {
  html[data-design="new"] .legal-switcher a,
  html[data-design="new"] .legal-back {
    transition: none;
  }
}
