/* Backlink Monitors legal-page styles.
   Loaded only on Terms, Privacy, Cookie and Refund pages. */

.prose .updated{
  max-width:760px;
  margin:18px auto 0 !important;
  color:#aebfba;
  font-size:16px;
  line-height:1.7;
}

.prose .legal-meta{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
  margin:0 auto 26px;
  padding:10px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:22px;
  background:linear-gradient(180deg,rgba(255,255,255,.045),rgba(255,255,255,.018));
  box-shadow:0 34px 90px -58px rgba(0,0,0,.92), inset 0 1px 0 rgba(255,255,255,.055);
  color:#8fa39c;
}

.prose .legal-meta div{
  position:relative;
  overflow:hidden;
  min-height:68px;
  padding:14px 15px;
  border:1px solid rgba(255,255,255,.075) !important;
  border-radius:16px;
  background:linear-gradient(180deg,rgba(7,13,17,.86),rgba(5,9,12,.72)) !important;
  box-shadow:none;
}

.prose .legal-meta div::before{
  content:"";
  position:absolute;
  left:0;
  right:0;
  top:0;
  height:2px;
  background:linear-gradient(90deg,rgba(46,230,166,.58),rgba(92,225,255,.36),transparent 74%);
  opacity:.72;
}

.prose .legal-meta span{
  display:block;
  margin:0 0 7px;
  font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,'Liberation Mono',monospace;
  font-size:10.5px;
  letter-spacing:.13em;
  text-transform:uppercase;
  color:#6f827c;
}

.prose .legal-meta strong{
  display:block;
  color:#edf5f2;
  font-size:14px;
  line-height:1.35;
  font-weight:700;
}

.prose .legal-toc{
  position:static;
  overflow:hidden;
  margin:0 0 36px;
  padding:0;
  border:1px solid rgba(255,255,255,.09) !important;
  border-radius:22px;
  background:linear-gradient(180deg,rgba(255,255,255,.043),rgba(255,255,255,.018)) !important;
  box-shadow:0 34px 90px -62px rgba(0,0,0,.9), inset 0 1px 0 rgba(255,255,255,.052);
}

.prose .legal-toc-title{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
  margin:0;
  padding:18px 20px;
  list-style:none;
  cursor:pointer;
  user-select:none;
  color:#edf5f2;
  font-weight:760;
  font-size:17px;
  letter-spacing:-.01em;
}

.prose .legal-toc-title::-webkit-details-marker{display:none}

.prose .legal-toc-title::after{
  content:'+';
  display:grid;
  place-items:center;
  flex:0 0 auto;
  width:26px;
  height:26px;
  border-radius:999px;
  border:1px solid rgba(46,230,166,.24);
  background:rgba(46,230,166,.07);
  color:#2ee6a6;
  font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,'Liberation Mono',monospace;
  font-size:17px;
  line-height:1;
  box-shadow:none;
}

.prose .legal-toc[open] .legal-toc-title::after{content:'−'}

.prose .legal-toc ol{
  display:grid;
  grid-template-columns:1fr;
  gap:8px;
  margin:0;
  padding:0 18px 18px;
  list-style:none;
}

.prose .legal-toc li{margin:0;color:#7d918a}

.prose .legal-toc a{
  display:block;
  padding:10px 12px;
  border:1px solid rgba(255,255,255,.075) !important;
  border-radius:13px;
  background:rgba(255,255,255,.024) !important;
  color:#dce8e4 !important;
  text-decoration:none;
  font-size:14px;
  line-height:1.35;
}

.prose .legal-toc a:hover{
  border-color:rgba(46,230,166,.28) !important;
  background:rgba(46,230,166,.055) !important;
  color:#2ee6a6 !important;
  text-decoration:none;
}

.prose .legal-document-title{
  scroll-margin-top:96px;
  margin-top:44px;
  padding-top:32px;
  border-top:1px solid rgba(255,255,255,.08);
}

.prose .legal-document-title::before{
  content:"";
  display:block;
  width:42px;
  height:3px;
  margin:0 0 14px;
  border-radius:999px;
  background:linear-gradient(90deg,#2ee6a6,#5ce1ff);
  opacity:.8;
}

.prose .legal-toc + .legal-document-title{margin-top:22px}

.prose .legal-table-wrap{
  overflow-x:auto;
  margin:4px 0 20px;
  border:1px solid rgba(255,255,255,.08) !important;
  border-radius:16px;
  background:linear-gradient(180deg,rgba(255,255,255,.035),rgba(255,255,255,.015)) !important;
}

.prose .legal-table{
  width:100%;
  min-width:680px;
  border-collapse:collapse;
  color:#aebfba;
  font-size:14px;
  line-height:1.48;
}

.prose .legal-table th,
.prose .legal-table td{
  padding:13px 15px;
  border-bottom:1px solid rgba(255,255,255,.075) !important;
  vertical-align:top;
  text-align:left;
}

.prose .legal-table th{
  color:#edf5f2 !important;
  font-weight:760;
  background:rgba(46,230,166,.045);
}

.prose .legal-table tr:last-child td{border-bottom:0 !important}

.prose a{
  color:#2ee6a6;
  text-decoration-color:rgba(46,230,166,.45);
  text-underline-offset:3px;
}

.prose a:hover{color:#5ce1ff;text-decoration-color:rgba(92,225,255,.55)}

@media(max-width:760px){
  .prose .legal-meta{grid-template-columns:1fr 1fr}
  .prose .legal-table{min-width:620px}
}

@media(max-width:520px){
  .prose .legal-meta{grid-template-columns:1fr}
  .prose .legal-toc-title{padding:16px}
  .prose .legal-toc ol{padding:0 14px 16px}
}

/* Legal page shell */
.legal-hero{
  padding-bottom:30px;
}

.legal-hero h1{
  max-width:880px;
}

.legal-page{
  padding-top:30px;
}

.legal-page .prose{
  max-width:940px;
}

.legal-page .prose > p:first-of-type{
  color:#c8d6d1;
  font-size:17px;
  line-height:1.75;
}

.legal-page .prose h2{
  scroll-margin-top:96px;
}

@media(max-width:760px){
  .legal-hero{
    padding-bottom:22px;
  }

  .legal-page{
    padding-top:22px;
  }
}
