/* astralforum.online legal pages
   adapted from Zodiac Wheels UI palette/layout
   source style basis supplied by user
*/

:root{
  --bg: #5b5e66;
  --bg2: #4a4d54;
  --panel: rgba(255,255,255,0.08);
  --panel2: rgba(255,255,255,0.10);
  --panel3: rgba(255,255,255,0.05);
  --stroke: rgba(255,255,255,0.16);
  --stroke-strong: rgba(255,255,255,0.28);
  --text: rgba(255,255,255,0.94);
  --muted: rgba(255,255,255,0.74);
  --muted2: rgba(255,255,255,0.56);
  --accent: rgba(233,236,242,0.96);
  --accent2: rgba(198,206,220,0.95);
  --shadow: 0 18px 40px rgba(0,0,0,0.34);
  --radius: 20px;
  --radius-sm: 14px;
  --maxw: 1080px;
}

*{ box-sizing:border-box; }
html, body {
  margin: 0;
  min-height: 100%;
}
html{ scroll-behavior:smooth; }
body {
  min-height: 100vh;
  color: var(--text);
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: linear-gradient(180deg, #5e5e62 0%, #3e4046 45%, #23252b 100%);
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
}

a{ color: inherit; text-decoration: none; }

.topbar{
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(12px);
  background: rgba(55,58,64,0.72);
  border-bottom: 1px solid var(--stroke);
}

.topbar__inner{
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 14px 16px;
  display:flex;
  gap:12px;
  align-items:center;
  justify-content: space-between;
}

.brand{
  min-width:0;
}

.brand__title{
  font-size: 18px;
  letter-spacing: 0.9px;
  font-weight: 800;
}
.brand__subtitle{
  font-size: 12px;
  color: var(--muted2);
  margin-top: 2px;
}

.controls{
  display:flex;
  gap:10px;
  align-items:center;
  flex-wrap:wrap;
  justify-content:flex-end;
}

.btn{
  appearance:none;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  border: 1px solid var(--stroke);
  background: linear-gradient(180deg, rgba(255,255,255,0.14), rgba(255,255,255,0.07));
  color: var(--text);
  padding: 10px 14px;
  border-radius: 14px;
  cursor:pointer;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.5px;
  box-shadow: 0 10px 20px rgba(0,0,0,0.18);
  transition: transform .15s ease, border-color .15s ease, background .15s ease;
}
.btn:hover{
  border-color: var(--stroke-strong);
  background: linear-gradient(180deg, rgba(255,255,255,0.18), rgba(255,255,255,0.09));
}
.btn:active{ transform: translateY(1px); }
.btn--primary{
  background: linear-gradient(180deg, rgba(255,255,255,0.24), rgba(255,255,255,0.10));
}

.page{
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 28px 16px 34px;
}

.hero{
  margin-bottom: 18px;
}
.hero__card{
  background: linear-gradient(180deg, rgba(255,255,255,0.10), rgba(255,255,255,0.05));
  border: 1px solid var(--stroke);
  border-radius: 26px;
  box-shadow: var(--shadow);
  padding: 26px 24px;
  position:relative;
  overflow:hidden;
}
.hero__card::after{
  content:"";
  position:absolute;
  inset:auto -100px -100px auto;
  width:280px;
  height:280px;
  border-radius:50%;
  background: radial-gradient(circle, rgba(255,255,255,0.12), transparent 65%);
  pointer-events:none;
}

.eyebrow{
  display:inline-block;
  margin:0 0 10px;
  padding:7px 11px;
  border-radius:999px;
  border:1px solid var(--stroke);
  background: rgba(0,0,0,0.10);
  color: var(--muted);
  font-size: 12px;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.page-title{
  margin:0;
  font-size: clamp(30px, 4vw, 46px);
  line-height:1.05;
  letter-spacing: -0.02em;
}

.lead{
  margin: 12px 0 0;
  max-width: 760px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--muted);
}

.card{
  background: var(--panel);
  border: 1px solid var(--stroke);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow:hidden;
}

.card--legal{
  padding: 12px;
}

.legalNav {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  width: 100%;
  margin: 24px auto;
  text-align: center;
}

.navPill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: rgba(255,255,111,0.55);
  color: rgba(100,100,100,0.65);
  font-size: 12px;
  letter-spacing: 0.5px;
  color: var(--muted);
  transition: background .15s ease, border-color .15s ease, color .15s ease;
}
.navPill:hover{
  color: rgba(64,64,64,1);
  background: rgba(255,255,255,0.74);
}
.navPill:focus-visible{
  color: rgba(100,100,100,0.65);
  background: rgba(255,255,111,0.20);
  border-color: var(--stroke-strong);
}
.navPill.is-active{
  color: rgba(100,100,100,0.65);	
  background: rgba(255,255,255,0.74);
}

.legal-block{
  background: linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.035));
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 18px;
  padding: 18px 18px 16px;
  margin-bottom: 12px;
}
.legal-block:last-child{ margin-bottom:0; }

.legal-block h2{
  margin: 0 0 10px;
  font-size: 17px;
  letter-spacing: 0.4px;
}

.legal-block p,
.legal-block li{
  font-size: 14px;
  line-height: 1.7;
  color: var(--muted);
}

.legal-block p{
  margin: 0 0 10px;
}
.legal-block p:last-child{ margin-bottom:0; }

.legal-block ul{
  margin: 0 0 10px 0;
  padding-left: 18px;
}
.legal-block li + li{ margin-top: 4px; }

.legal-meta{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 12px;
}

.kv{
  background: rgba(0,0,0,0.10);
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 14px;
  padding: 12px 14px;
}
.kv strong{
  display:block;
  margin-bottom: 4px;
  color: var(--text);
}
.kv span{
  color: var(--muted);
  font-size: 14px;
}

.footerNote{
  margin-top: 16px;
  padding: 0 4px;
  color: var(--muted2);
  font-size: 12px;
  line-height: 1.6;
}

.tableLike{
  display:grid;
  grid-template-columns: 220px 1fr;
  gap: 10px 16px;
}
.tableLike dt{
  color: var(--text);
  font-weight: 700;
}
.tableLike dd{
  margin:0;
  color: var(--muted);
}

@media (max-width: 780px){
  .topbar__inner{
    align-items:flex-start;
    flex-direction:column;
  }
  .controls{
    width:100%;
    justify-content:flex-start;
  }
  .hero__card{
    padding: 22px 18px;
  }
  .legal-meta,
  .tableLike{
    grid-template-columns: 1fr;
  }
}
