:root{
  --primary:#192d43;
  --accent:#FFBF00;
  --bg:#ffffff;
  --muted:#475569;
}

*{
  font-family: "Public Sans", sans-serif;
}

html{ scroll-behavior:smooth; }

.terms-body{
  background: var(--bg);
  color: var(--primary);
}

/* Container max like Tailwind (1200px) */
.terms-container{
  max-width: 1200px;
}

/* HEADER */
.terms-header{
  background:#fff;
  border-bottom:1px solid #eaecef;
}
.brand-box{
  width:32px;height:32px;
  background:var(--primary);
  border-radius:6px;
  display:flex;align-items:center;justify-content:center;
}
.brand-box span{color:#fff;font-size:18px;}
.brand-name{font-weight:900;font-size:20px;}

.terms-nav a{
  font-weight:700;
  font-size:14px;
  text-decoration:none;
  color:var(--primary);
}
.terms-nav a:hover{color:var(--accent);}

/* LAYOUT */
.terms-main{max-width:1200px;margin:auto;}
.terms-sidebar{
  background:#f8fafc;
  border-right:1px solid #eaecef;
  min-height:100vh;
}
.sidebar-inner{
  position:sticky;
  top:80px;
  padding:24px;
}
.sidebar-label{
  font-size:10px;
  font-weight:900;
  letter-spacing:.2em;
  text-transform:uppercase;
  color:#94a3b8;
  margin-bottom:16px;
}

/* TOC */
.sidebar-nav{display:flex;flex-direction:column;gap:4px;}
.toc-link{
  display:flex;
  gap:12px;
  padding:10px 12px;
  border-radius:4px;
  text-decoration:none;
  color:#64748b;
  font-weight:600;
  border-left:3px solid transparent;
}
.toc-link span{font-size:20px;}
.toc-link:hover{background:#eef2f7;color:var(--primary);}
.toc-link.active{
  border-left-color:var(--accent);
  background:rgba(25,45,67,.05);
  color:var(--primary);
}

/* CONTENT */
.terms-content{
  padding:48px 64px;
  /*max-width:900px;*/
}
.terms-breadcrumb{
  font-size:12px;
  font-weight:800;
  letter-spacing:.15em;
  text-transform:uppercase;
  color:#94a3b8;
  display:flex;
  gap:6px;
  align-items:center;
}
.terms-breadcrumb a{text-decoration:none;color:#94a3b8;}
.terms-breadcrumb .active{color:var(--primary);}

.terms-heading{
  margin:48px 0;
  border-bottom:1px solid #eaecef;
  padding-bottom:48px;
}
.terms-heading h1{
  font-size:48px;
  font-weight:900;
}
.terms-heading p{
  font-size:18px;
  color:#64748b;
  max-width:600px;
}

/* LEGAL */
.legal-content section{margin-bottom:70px;}
.legal-content h2{
  font-size:22px;
  font-weight:700;
  display:flex;
  gap:12px;
  align-items:center;
}
.legal-content h2 span{
  width:32px;height:4px;
  background:var(--accent);
  border-radius:99px;
}
.legal-content p{
  color:var(--muted);
  line-height:1.8;
}
.legal-note{
  font-size:14px;
  font-style:italic;
}

.prohibit-box{
  background:rgba(25,45,67,.05);
  border-left:4px solid var(--primary);
  padding:20px;
  margin-top:24px;
}
.prohibit-box h4{
  font-size:12px;
  font-weight:900;
  text-transform:uppercase;
}
.prohibit-box ul{
  padding-left:18px;
  margin:0;
}
.prohibit-box li{
  font-size:14px;
  color:#475569;
}

/* CTA */
.terms-cta{
  background:var(--primary);
  color:#fff;
  padding:40px;
  border-radius:12px;
  margin-top:64px;
}
.terms-cta h3{font-weight:900;}
.terms-cta p{opacity:.9;}
.cta-btn{
  display:inline-flex;
  align-items:center;
  gap:8px;
  background:var(--accent);
  color:var(--primary);
  font-weight:900;
  padding:12px 24px;
  text-decoration:none;
  border-radius:4px;
}

/* FOOTER */
/* FOOTER FIX */
.terms-footer{
  background:#f8fafc;
  border-top:1px solid #eaecef;
  padding:50px 0;
}

.footer-brand{
  display:flex;
  align-items:center;
  gap:10px;
  opacity:.55;
  filter: grayscale(1);
  cursor:pointer;
  transition:.25s;
}

.footer-brand:hover{
  opacity:1;
  filter: grayscale(0);
}

.footer-mini-icon{
  width:26px;
  height:26px;
  border-radius:4px;
  background: var(--primary);
  display:flex;
  align-items:center;
  justify-content:center;
}

.footer-mini-icon span{
  color:#fff;
  font-size:14px;
}

.footer-title{
  font-size:18px;
  font-weight:900;
  color: var(--primary);
}

.footer-links a{
  font-size:14px;
  font-weight:700;
  color:#64748b;
  text-decoration:none;
  transition:.2s;
}

.footer-links a:hover{
  color: var(--accent);
}

.copy{
  font-size:13px;
  color:rgb(94 114 135);
}

.register-com{
  font-size: 14px;
  color:rgb(94 114 135);
}


/* SCROLL TOP */
.scroll-top{
  position:fixed;
  bottom:32px;
  right:32px;
  width:48px;height:48px;
  background:var(--primary);
  color:#fff;
  border:none;
  border-radius:4px;
  display:flex;
  align-items:center;
  justify-content:center;
  box-shadow:0 15px 40px rgba(0,0,0,.3);
}
.scroll-top:hover{
  background:var(--accent);
  color:var(--primary);
}
