/* Legal pages 3.1.0 — scoped only to privacy, consent and offer pages. */
.ms-legal--styled{
  padding:0!important;
  background:#fff;
  color:var(--ms-ink,#151722);
}
.ms-legal--styled .ms-legal-hero{
  position:relative;
  overflow:hidden;
  padding:48px 0 84px;
  border-bottom:1px solid var(--ms-line,#dddddf);
  background:
    radial-gradient(circle at 86% 18%,rgba(99,223,139,.17),transparent 24%),
    radial-gradient(circle at 8% 72%,rgba(93,84,189,.12),transparent 28%),
    linear-gradient(135deg,#f2f1f6 0%,#fff 54%,#f2fbf5 100%);
}
.ms-legal--styled .ms-legal-hero::after{
  content:"";
  position:absolute;
  right:-120px;
  bottom:-260px;
  width:520px;
  height:520px;
  border:1px solid rgba(93,84,189,.18);
  transform:rotate(18deg);
  pointer-events:none;
}
.ms-legal--styled .ms-breadcrumb{
  position:relative;
  z-index:1;
  margin:0 0 58px;
  color:#777783;
}
.ms-legal--styled .ms-breadcrumb b{color:var(--ms-ink,#151722);font-weight:500}
.ms-legal--styled .ms-legal-hero__grid{
  position:relative;
  z-index:1;
  display:grid;
  grid-template-columns:minmax(0,1.45fr) minmax(300px,.55fr);
  align-items:end;
  gap:clamp(42px,6vw,100px);
}
.ms-legal--styled .ms-legal-eyebrow{
  display:block;
  margin:0 0 24px;
  color:var(--ms-purple,#5d54bd);
  font-size:18px;
  line-height:1.3;
  font-weight:500;
  letter-spacing:.08em;
  text-transform:uppercase;
}
.ms-legal--styled h1{
  max-width:1080px;
  margin:0 0 30px;
  font-size:clamp(54px,6vw,96px)!important;
  line-height:.93!important;
  letter-spacing:-.05em!important;
  font-weight:300!important;
  text-transform:uppercase;
  overflow-wrap:normal;
  word-break:normal;
  hyphens:none;
  text-wrap:balance;
}
.ms-legal--styled .ms-legal-lead{
  max-width:850px;
  margin:0;
  color:#4f4f59;
  font-size:19px;
  line-height:1.6;
  text-wrap:pretty;
}
.ms-legal--styled .ms-legal-meta{
  position:relative;
  padding:34px;
  background:var(--ms-dark,#050215);
  color:#fff;
  border-top:4px solid var(--ms-green,#63df8b);
  box-shadow:0 28px 70px rgba(5,2,21,.13);
}
.ms-legal--styled .ms-legal-meta>span{
  display:block;
  margin-bottom:28px;
  color:var(--ms-green,#63df8b);
  font-size:12px;
  letter-spacing:.14em;
  text-transform:uppercase;
}
.ms-legal--styled .ms-legal-meta dl{display:grid;gap:18px;margin:0}
.ms-legal--styled .ms-legal-meta div{padding-top:16px;border-top:1px solid rgba(255,255,255,.14)}
.ms-legal--styled .ms-legal-meta dt{margin-bottom:6px;color:#aaa8b6;font-size:10px;letter-spacing:.12em;text-transform:uppercase}
.ms-legal--styled .ms-legal-meta dd{margin:0;font-size:15px;line-height:1.45}
.ms-legal--styled .ms-legal-meta a{color:#fff;text-decoration:none}
.ms-legal--styled .ms-legal-content{padding:96px 0 118px;background:#fff}
.ms-legal--styled .ms-legal-layout{
  display:grid;
  grid-template-columns:230px minmax(0,1fr);
  align-items:start;
  gap:clamp(42px,6vw,96px);
}
.ms-legal--styled .ms-legal-nav{
  position:sticky;
  top:150px;
  display:grid;
  gap:1px;
  padding-left:20px;
  border-left:2px solid var(--ms-purple,#5d54bd);
}
.ms-legal--styled .ms-legal-nav>span{
  margin-bottom:13px;
  color:var(--ms-purple,#5d54bd);
  font-size:11px;
  letter-spacing:.14em;
  text-transform:uppercase;
}
.ms-legal--styled .ms-legal-nav a{
  padding:9px 0;
  color:#666670;
  font-size:13px;
  line-height:1.35;
  text-decoration:none;
  transition:color .2s ease,transform .2s ease;
}
.ms-legal--styled .ms-legal-nav a:hover{color:var(--ms-purple,#5d54bd);transform:translateX(4px)}
.ms-legal--styled .ms-legal-document{display:grid;gap:14px;min-width:0}
.ms-legal--styled .ms-legal-card{
  display:grid;
  grid-template-columns:82px minmax(0,1fr);
  gap:28px;
  padding:36px;
  border:1px solid var(--ms-line,#dddddf);
  background:#fff;
  box-shadow:0 18px 50px rgba(21,23,34,.045);
  scroll-margin-top:145px;
}
.ms-legal--styled .ms-legal-card__number{
  color:var(--ms-purple,#5d54bd);
  font-size:13px;
  letter-spacing:.12em;
}
.ms-legal--styled .ms-legal-card h2{
  margin:0 0 18px!important;
  font-size:clamp(28px,3vw,42px)!important;
  line-height:1!important;
  letter-spacing:-.035em;
  font-weight:300!important;
  text-transform:uppercase;
  text-wrap:balance;
}
.ms-legal--styled .ms-legal-card p{
  max-width:900px;
  margin:0!important;
  color:#55555f;
  font-size:17px!important;
  line-height:1.7!important;
}
.ms-legal--styled .ms-legal-card p+p{margin-top:14px!important}
.ms-legal--styled .ms-legal-card a{color:var(--ms-purple,#5d54bd)}
.ms-legal--styled .ms-legal-card--contact{
  background:var(--ms-dark,#050215);
  border-color:var(--ms-dark,#050215);
  color:#fff;
  box-shadow:none;
}
.ms-legal--styled .ms-legal-card--contact .ms-legal-card__number{color:var(--ms-green,#63df8b)}
.ms-legal--styled .ms-legal-card--contact h2{color:#fff}
.ms-legal--styled .ms-legal-card--contact p{color:#c7c5d0}
.ms-legal--styled .ms-legal-card--contact a{color:#fff;text-underline-offset:3px}
.ms-legal--styled .ms-legal-related{
  margin-top:34px;
  padding-top:34px;
  border-top:1px solid var(--ms-line,#dddddf);
}
.ms-legal--styled .ms-legal-related>span{
  display:block;
  margin-bottom:18px;
  color:#777783;
  font-size:11px;
  letter-spacing:.14em;
  text-transform:uppercase;
}
.ms-legal--styled .ms-legal-related__grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:10px;
}
.ms-legal--styled .ms-legal-related a{
  display:flex;
  min-height:96px;
  align-items:flex-end;
  padding:20px;
  border:1px solid var(--ms-line,#dddddf);
  background:#fff;
  color:var(--ms-ink,#151722);
  font-size:14px;
  line-height:1.35;
  text-decoration:none;
  text-transform:uppercase;
  transition:background .2s ease,color .2s ease,border-color .2s ease;
}
.ms-legal--styled .ms-legal-related a:hover,
.ms-legal--styled .ms-legal-related a.is-active{
  background:var(--ms-purple,#5d54bd);
  border-color:var(--ms-purple,#5d54bd);
  color:#fff;
}
@media(max-width:980px){
  .ms-legal--styled .ms-legal-hero__grid{grid-template-columns:1fr;align-items:start}
  .ms-legal--styled .ms-legal-meta{max-width:720px}
  .ms-legal--styled .ms-legal-layout{grid-template-columns:1fr}
  .ms-legal--styled .ms-legal-nav{
    position:static;
    display:flex;
    align-items:center;
    gap:20px;
    overflow-x:auto;
    padding:0 0 12px;
    border-left:0;
    border-bottom:1px solid var(--ms-line,#dddddf);
    scrollbar-width:none;
  }
  .ms-legal--styled .ms-legal-nav::-webkit-scrollbar{display:none}
  .ms-legal--styled .ms-legal-nav>span,.ms-legal--styled .ms-legal-nav a{flex:0 0 auto;margin:0}
}
@media(max-width:700px){
  .ms-legal--styled .ms-legal-hero{padding:30px 0 58px}
  .ms-legal--styled .ms-breadcrumb{margin-bottom:38px}
  .ms-legal--styled h1{font-size:clamp(38px,12vw,54px)!important;line-height:.96!important;letter-spacing:-.04em!important}
  .ms-legal--styled .ms-legal-eyebrow{font-size:16px;margin-bottom:18px}
  .ms-legal--styled .ms-legal-lead{font-size:16px;line-height:1.55}
  .ms-legal--styled .ms-legal-meta{padding:26px 22px}
  .ms-legal--styled .ms-legal-content{padding:62px 0 76px}
  .ms-legal--styled .ms-legal-card{grid-template-columns:1fr;gap:16px;padding:26px 22px}
  .ms-legal--styled .ms-legal-card h2{font-size:30px!important}
  .ms-legal--styled .ms-legal-card p{font-size:16px!important;line-height:1.65!important}
  .ms-legal--styled .ms-legal-related__grid{grid-template-columns:1fr}
  .ms-legal--styled .ms-legal-related a{min-height:76px}
}
