/* Mstr Network — centro legal, consolidado V10.2 */

html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}
body {
  overscroll-behavior-x: none;
}
.legal-page {
  width: 100%;
  height: 100vh;
  max-width: 100%;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
  overscroll-behavior-y: contain;
}
.legal-page::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}
.legal-page::before {
  position: fixed !important;
  inset: -18% !important;
}
.legal-page>.special-orbit, .legal-page>.tech-dot {
  position: fixed;
}
.legal-screen {
  position: relative;
  z-index: 3;
  width: 100%;
  min-height: 100vh;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  display: flex;
  align-items: center;
  padding: 72px 0;
}
.legal-screen.compact {
  padding: 58px 0;
}
.legal-container {
  width: min(1120px,calc(100% - 64px));
  margin: 0 auto;
  min-width: 0;
}
.legal-hero-screen {
  padding: 0;
}
.legal-hero {
  width: min(1220px,calc(100% - 64px));
  min-height: 100vh;
  margin: 0 auto;
}
.legal-hero .special-stage {
  min-width: 0;
}
.legal-section-head {
  display: grid;
  grid-template-columns: 1fr minmax(300px,520px);
  gap: 48px;
  align-items: end;
  margin-bottom: 30px;
}
.legal-kicker {
  display: block;
  margin-bottom: 9px;
  color: #8da5bd;
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
}
.legal-section-head h2 {
  margin: 0;
  font-size: clamp(2rem,4vw,3.25rem);
  letter-spacing: -.045em;
}
.legal-section-head p {
  margin: 0;
  color: #7f94aa;
  font-size: .88rem;
  line-height: 1.7;
}
.legal-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 12px;
}
.legal-card {
  min-height: 112px;
  display: grid;
  grid-template-columns: 48px minmax(0,1fr) auto;
  gap: 15px;
  align-items: center;
  padding: 20px;
  border: 1px solid var(--mstr-line);
  border-radius: 16px;
  background: linear-gradient(180deg,rgba(14,35,59,.72),rgba(8,25,44,.82));
  transition: .22s ease;
  min-width: 0;
}
.legal-card>i:first-child {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  background: rgba(46,114,198,.09);
  border: 1px solid rgba(119,171,235,.12);
  color: #94bdf0;
}
.legal-card>i:last-child {
  color: #607c99;
  font-size: .75rem;
}
.legal-card strong {
  display: block;
  color: #e9f2fb;
  font-size: .88rem;
}
.legal-card small {
  display: block;
  margin-top: 5px;
  color: #73899e;
  font-size: .7rem;
  line-height: 1.45;
}
.legal-card:hover {
  transform: translateY(-2px);
  border-color: rgba(255,102,0,.25);
  background: linear-gradient(180deg,rgba(16,39,66,.82),rgba(8,25,44,.92));
}
.legal-card:hover>i:first-child, .legal-card:hover>i:last-child {
  color: #ff9b58;
}
.legal-card span {
  min-width: 0;
}
.legal-principles {
  display: grid;
  grid-template-columns: repeat(3,minmax(0,1fr));
  gap: 12px;
}
.legal-principle {
  padding: 22px;
  border: 1px solid var(--mstr-line);
  border-radius: 16px;
  background: linear-gradient(180deg,rgba(13,34,58,.72),rgba(7,23,40,.84));
}
.legal-principle i {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: rgba(46,114,198,.08);
  color: #93b8e5;
  margin-bottom: 20px;
}
.legal-principle h3 {
  margin: 0;
  color: #ecf4fc;
  font-size: .98rem;
}
.legal-principle p {
  margin: 8px 0 0;
  color: #7e94aa;
  font-size: .76rem;
  line-height: 1.65;
}
.legal-callout {
  margin-top: 14px;
  padding: 16px 18px;
  border: 1px solid rgba(255,102,0,.17);
  border-radius: 14px;
  background: rgba(255,102,0,.045);
  display: flex;
  gap: 12px;
  color: #879db3;
  font-size: .75rem;
  line-height: 1.6;
}
.legal-callout i {
  color: #ff9b58;
  margin-top: 3px;
}
.legal-callout strong {
  color: #dbe8f4;
}
.doc-hero {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(340px,.72fr);
  gap: 70px;
  align-items: center;
}
.doc-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 26px;
  color: #758ba1;
  font-size: .68rem;
}
.doc-breadcrumb a:hover {
  color: #fff;
}
.doc-breadcrumb i {
  font-size: .55rem;
  color: #4e657c;
}
.doc-icon {
  width: 72px;
  height: 72px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  border: 1px solid rgba(145,183,229,.16);
  background: rgba(46,114,198,.08);
  color: #a0c6f5;
  font-size: 1.55rem;
  margin-bottom: 22px;
  box-shadow: 0 20px 50px rgba(0,0,0,.18);
}
.doc-copy h1 {
  margin: 0;
  font-size: clamp(2.65rem,5vw,4.8rem);
  line-height: .98;
  letter-spacing: -.055em;
}
.doc-copy h1 span {
  background: linear-gradient(100deg,#fff,#94baff 52%,#ff9d5f);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.doc-copy .lead {
  max-width: 700px;
  margin: 22px 0 0;
  color: #9badbf;
  font-size: 1rem;
  line-height: 1.72;
}
.doc-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: 24px;
}
.doc-meta span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 10px;
  border: 1px solid var(--mstr-line);
  border-radius: 9px;
  background: rgba(255,255,255,.025);
  color: #8298ad;
  font-size: .65rem;
}
.doc-meta i {
  color: #90add0;
}
.doc-meta .draft {
  border-color: rgba(255,102,0,.16);
  color: #ff9d61;
  background: rgba(255,102,0,.05);
}
.doc-side {
  padding: 26px;
  border: 1px solid var(--mstr-line);
  border-radius: 20px;
  background: linear-gradient(180deg,rgba(13,34,58,.82),rgba(7,23,40,.9));
  box-shadow: 0 28px 70px rgba(0,0,0,.22);
}
.doc-side h2 {
  margin: 0 0 14px;
  font-size: 1.1rem;
}
.doc-side p {
  margin: 0;
  color: #7f95aa;
  font-size: .78rem;
  line-height: 1.7;
}
.doc-side ul {
  margin: 17px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 9px;
}
.doc-side li {
  display: flex;
  gap: 9px;
  color: #899db1;
  font-size: .72rem;
  line-height: 1.45;
}
.doc-side li i {
  color: #58c99a;
  margin-top: 3px;
}
.doc-side .mstr-btn {
  width: 100%;
  margin-top: 20px;
}
.doc-title-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 30px;
  margin-bottom: 26px;
}
.doc-title-row h2 {
  margin: 0;
  font-size: clamp(2rem,4vw,3.1rem);
  letter-spacing: -.045em;
}
.doc-title-row p {
  max-width: 480px;
  margin: 0;
  color: #7d92a7;
  font-size: .8rem;
  line-height: 1.65;
}
.clause-grid {
  display: grid;
  grid-template-columns: repeat(2,minmax(0,1fr));
  gap: 12px;
}
.clause {
  padding: 22px;
  border: 1px solid var(--mstr-line);
  border-radius: 16px;
  background: linear-gradient(180deg,rgba(12,31,53,.78),rgba(7,23,40,.88));
  min-width: 0;
}
.clause .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(255,102,0,.07);
  border: 1px solid rgba(255,102,0,.15);
  color: #ff9d61;
  font-size: .61rem;
  font-weight: 800;
  margin-bottom: 16px;
}
.clause h3 {
  margin: 0;
  color: #edf5fd;
  font-size: .94rem;
}
.clause p {
  margin: 8px 0 0;
  color: #7f95aa;
  font-size: .75rem;
  line-height: 1.7;
}
.clause ul {
  margin: 10px 0 0;
  padding-left: 18px;
  color: #7f95aa;
  font-size: .73rem;
  line-height: 1.7;
}
.clause li+li {
  margin-top: 4px;
}
.doc-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}
.doc-actions button {
  font-family: inherit;
}
.doc-footer {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 22px;
  align-items: center;
  padding: 24px;
  border: 1px solid var(--mstr-line);
  border-radius: 18px;
  background: linear-gradient(180deg,rgba(13,34,58,.72),rgba(7,23,40,.86));
}
.doc-footer h3 {
  margin: 0;
  font-size: 1rem;
}
.doc-footer p {
  margin: 7px 0 0;
  color: #7c91a6;
  font-size: .73rem;
  line-height: 1.6;
}
.doc-footer .doc-actions {
  margin: 0;
}
.page-next {
  position: absolute;
  left: 50%;
  bottom: 20px;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #60778e;
  font-size: .62rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  cursor: pointer;
}
.page-next i {
  color: #ff8d43;
  animation: pageBounce 1.9s ease-in-out infinite;
}
.page-next:hover {
  color: #a6b8c9;
}
@keyframes pageBounce {
  50% {
    transform: translateY(4px);
  }
}
.legal-search {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 390px;
  margin-bottom: 18px;
  border: 1px solid var(--mstr-line);
  border-radius: 11px;
  background: rgba(255,255,255,.02);
  padding: 0 13px;
}
.legal-search i {
  color: #6f879e;
}
.legal-search input {
  width: 100%;
  height: 42px;
  border: 0;
  outline: 0;
  background: transparent;
  color: #dfeaf5;
  font: inherit;
  font-size: .72rem;
}
.legal-search input::placeholder {
  color: #526a81;
}
.legal-card.hidden {
  display: none;
}
@media (max-width:991.98px) {
  .legal-page {
    height: auto;
    min-height: 100vh;
    scroll-snap-type: none;
    overflow-y: auto !important;
  }
  .legal-screen {
    min-height: auto;
    display: block;
    padding: 78px 0;
  }
  .legal-hero-screen {
    padding: 0;
  }
  .legal-hero {
    min-height: auto;
    width: min(760px,calc(100% - 36px));
    padding: 96px 0 70px;
  }
  .legal-container {
    width: min(760px,calc(100% - 36px));
  }
  .legal-section-head, .doc-title-row {
    display: block;
    text-align: center;
  }
  .legal-section-head p, .doc-title-row p {
    margin: 12px auto 0;
  }
  .legal-grid, .clause-grid, .legal-principles {
    grid-template-columns: 1fr;
  }
  .doc-hero {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .doc-copy {
    text-align: center;
  }
  .doc-icon {
    margin-left: auto;
    margin-right: auto;
  }
  .doc-breadcrumb {
    justify-content: center;
  }
  .doc-meta, .doc-actions {
    justify-content: center;
  }
  .doc-copy .lead {
    margin-left: auto;
    margin-right: auto;
  }
  .doc-side {
    max-width: 650px;
    margin: 0 auto;
    text-align: left;
  }
  .page-next {
    display: none;
  }
}
@media (max-width:575.98px) {
  .legal-container {
    width: calc(100% - 28px);
  }
  .legal-hero {
    width: calc(100% - 28px);
    padding-top: 70px;
  }
  .legal-screen {
    padding: 58px 0;
  }
  .legal-grid {
    gap: 9px;
  }
  .legal-card {
    grid-template-columns: 42px minmax(0,1fr) auto;
    padding: 16px;
  }
  .legal-card>i:first-child {
    width: 42px;
    height: 42px;
  }
  .legal-principle, .clause, .doc-side {
    padding: 18px;
  }
  .doc-copy h1 {
    font-size: clamp(2.35rem,12vw,3.5rem);
  }
  .doc-footer {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .doc-footer .doc-actions {
    justify-content: center;
  }
}
@media (prefers-reduced-motion:reduce) {
  .legal-page {
    scroll-behavior: auto;
  }
  .page-next i {
    animation: none;
  }
}
@media print {
  html, body, .legal-page {
    height: auto !important;
    overflow: visible !important;
    background: #fff !important;
    color: #111 !important;
    scroll-snap-type: none !important;
  }
  .page-next, .special-orbit, .tech-dot, .special-page::before, .special-stage, .doc-actions {
    display: none !important;
  }
  .legal-screen {
    min-height: auto !important;
    display: block !important;
    padding: 24px 0 !important;
    page-break-inside: avoid;
  }
  .legal-container, .legal-hero {
    width: 100% !important;
    max-width: none !important;
  }
  .doc-hero {
    display: block;
  }
  .doc-copy, .doc-title-row {
    text-align: left !important;
  }
  .doc-copy h1, .doc-title-row h2, .clause h3, .doc-side h2, .legal-principle h3 {
    color: #111 !important;
    -webkit-text-fill-color: initial !important;
  }
  .doc-copy .lead, .clause p, .clause ul, .doc-side p, .doc-side li, .doc-meta span {
    color: #333 !important;
  }
  .clause, .doc-side, .doc-footer, .legal-principle {
    background: #fff !important;
    border: 1px solid #bbb !important;
    box-shadow: none !important;
  }
}
