*,*::before,*::after{box-sizing:border-box;margin:0;padding:0;}
:root{
  --navy:#05101F;--blue:#1D6EFF;--blue-dim:rgba(29,110,255,0.1);
  --gold:#C8A94A;--green:#0BB86D;--white:#fff;
  --g50:#F5F7FA;--g100:#EBF0F6;--g200:#D1DBE8;
  --g400:#8A9BB0;--g600:#4A5E72;--g800:#1A2B3C;
}
html{scroll-behavior:smooth;}
body{font-family:'DM Sans',sans-serif;color:var(--navy);background:#fff;-webkit-font-smoothing:antialiased;line-height:1.6;overflow-x:hidden;}
.wrap{max-width:1180px;margin:0 auto;padding:0 44px;}

/* NAV (inner layout) */
#nav{position:sticky;top:0;z-index:999;background:rgba(5,16,31,0.97);backdrop-filter:blur(18px);border-bottom:1px solid rgba(255,255,255,0.07);}
.nav-in{height:64px;display:flex;align-items:center;justify-content:space-between;}
.nav-logo{display:flex;align-items:center;gap:10px;text-decoration:none;min-width:0;}
.logo-box{width:36px;height:36px;flex-shrink:0;background:var(--blue);border-radius:8px;display:flex;align-items:center;justify-content:center;}
.logo-box span{font-size:13px;font-weight:800;color:#fff;}
.logo-name{font-size:18px;font-weight:800;color:#fff;letter-spacing:-.3px;}
.nav-links{display:flex;align-items:center;gap:4px;}
.nav-links a{font-size:13px;color:rgba(255,255,255,0.55);text-decoration:none;font-weight:500;padding:6px 12px;border-radius:6px;transition:all .15s;white-space:nowrap;}
.nav-links a:hover{color:#fff;background:rgba(255,255,255,0.06);}
.nav-links a.nav-expand{font-weight:700;text-transform:uppercase;letter-spacing:.4px;font-size:11.5px;background:rgba(200,169,74,0.12);border:1px solid rgba(200,169,74,0.25);color:var(--gold);}
.nav-right{display:flex;gap:8px;align-items:center;flex-shrink:0;}
.nav-wa{display:flex;align-items:center;gap:6px;font-size:13px;font-weight:600;color:#25D366;border:1px solid rgba(37,211,102,0.28);padding:7px 14px;border-radius:7px;text-decoration:none;transition:all .18s;}
.nav-wa:hover{background:rgba(37,211,102,0.07);}
.nav-cta{font-size:13px;font-weight:700;background:var(--blue);color:#fff;padding:8px 18px;border-radius:7px;text-decoration:none;transition:background .18s;}
.nav-cta:hover{background:#1558E0;}
.nav-hamburger{display:none;flex-direction:column;gap:5px;cursor:pointer;padding:6px;background:none;border:none;}
.nav-hamburger span{width:22px;height:2px;background:rgba(255,255,255,0.7);border-radius:2px;transition:all .25s;}
.nav-mobile{display:none;position:fixed;top:64px;left:0;right:0;bottom:0;background:rgba(5,16,31,0.98);z-index:998;flex-direction:column;padding:32px 24px;gap:8px;}
.nav-mobile.open{display:flex;}
.nav-mobile a{font-size:16px;color:rgba(255,255,255,0.7);text-decoration:none;font-weight:500;padding:14px 16px;border-radius:8px;border:1px solid rgba(255,255,255,0.06);}
.nav-mobile a.nav-expand{color:var(--gold);background:rgba(200,169,74,0.08);border-color:rgba(200,169,74,0.2);}
.nav-mobile-actions{display:flex;flex-direction:column;gap:10px;margin-top:16px;padding-top:16px;border-top:1px solid rgba(255,255,255,0.08);}

/* LEGAL HERO */
.legal-hero{
  background:var(--navy);
  padding:72px 0 56px;
  position:relative;
  overflow:hidden;
  border-bottom:1px solid rgba(255,255,255,0.07);
}
.legal-hero::before{
  content:'';
  position:absolute;inset:0;
  background:radial-gradient(ellipse 55% 80% at 75% 15%,rgba(29,110,255,0.1) 0%,transparent 68%);
  pointer-events:none;
}
.legal-hero-inner{position:relative;z-index:1;max-width:720px;}
.legal-hero-tag{
  display:inline-flex;align-items:center;gap:6px;
  font-size:11px;font-weight:700;letter-spacing:.5px;text-transform:uppercase;
  color:var(--gold);background:rgba(200,169,74,0.12);
  border:1px solid rgba(200,169,74,0.22);
  padding:6px 12px;border-radius:20px;margin-bottom:16px;
}
.legal-hero h1{font-size:40px;font-weight:800;color:#fff;letter-spacing:-.8px;line-height:1.15;margin-bottom:10px;}
.legal-hero p{font-size:15px;color:rgba(255,255,255,0.45);line-height:1.6;}

/* LEGAL BODY */
.legal-body{
  display:grid;
  grid-template-columns:220px minmax(0,1fr);
  gap:40px 48px;
  padding:56px 0 72px;
  align-items:start;
}
.legal-toc-wrap{align-self:start;min-width:0;}
.legal-toc{position:sticky;top:88px;}
.legal-toc h5{
  font-size:11px;font-weight:700;color:var(--g400);
  text-transform:uppercase;letter-spacing:.55px;margin-bottom:12px;
}
.toc-link{
  display:block;font-size:13px;color:var(--g600);text-decoration:none;
  padding:8px 12px;border-radius:8px;transition:all .15s;
  border-left:2px solid transparent;margin-bottom:2px;line-height:1.35;
}
.toc-link:hover{color:var(--navy);background:var(--g50);border-left-color:var(--g200);}
.toc-link.active{color:var(--blue);background:var(--blue-dim);border-left-color:var(--blue);font-weight:600;}

.legal-content{
  min-width:0;
  max-width:720px;
  overflow-wrap:break-word;
  word-wrap:break-word;
}
.legal-content a{color:var(--blue);text-decoration:none;font-weight:600;word-break:break-word;}
.legal-content a:hover{text-decoration:underline;}

.legal-highlight{
  background:linear-gradient(135deg,var(--g50) 0%,#eef4ff 100%);
  border:1px solid var(--g100);
  border-left:3px solid var(--blue);
  border-radius:0 12px 12px 0;
  padding:18px 22px;margin:0 0 36px;
}
.legal-highlight p{font-size:14.5px;color:var(--g600);line-height:1.75;margin:0;}
.legal-highlight strong{color:var(--navy);}

.legal-section{
  scroll-margin-top:96px;
  padding-bottom:36px;margin-bottom:36px;
  border-bottom:1px solid var(--g100);
}
.legal-section:last-child{padding-bottom:0;margin-bottom:0;border-bottom:none;}
.legal-section h2{
  font-size:24px;font-weight:800;color:var(--navy);
  margin-bottom:16px;letter-spacing:-.4px;line-height:1.25;
}
.legal-section p{font-size:15px;color:var(--g600);line-height:1.82;margin-bottom:14px;}
.legal-section p:last-child{margin-bottom:0;}
.legal-section ul,.legal-section ol{padding-left:22px;margin:0 0 16px;}
.legal-section li{font-size:15px;color:var(--g600);line-height:1.78;margin-bottom:10px;}
.legal-section li:last-child{margin-bottom:0;}
.legal-section strong{color:var(--navy);font-weight:700;}

.legal-section#contact-us ul,
.legal-section[id*="contact"] ul{
  list-style:none;padding:0;margin:16px 0 20px;
  background:var(--g50);border:1px solid var(--g100);
  border-radius:12px;overflow:hidden;
}
.legal-section#contact-us li,
.legal-section[id*="contact"] li{
  padding:14px 18px;margin:0;
  border-bottom:1px solid var(--g100);
  font-size:14.5px;
}
.legal-section#contact-us li:last-child,
.legal-section[id*="contact"] li:last-child{border-bottom:none;}

/* LEGAL FOOTER (minimal - original) */
footer.legal-site-footer,
.legal-site-footer{
  background:var(--navy);
  padding:48px 0 28px !important;
  border-top:1px solid rgba(255,255,255,0.07);
  width:100%;
  display:block;
  clear:both;
}
.legal-site-footer .foot-bottom{
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  gap:12px;
}
.legal-site-footer .foot-bottom p{
  font-size:12px;
  color:rgba(255,255,255,0.25);
  margin:0;
}
.legal-site-footer .foot-links{
  display:flex;
  flex-wrap:wrap;
  gap:12px 20px;
}
.legal-site-footer .foot-links a{
  font-size:12px;
  color:rgba(255,255,255,0.35);
  text-decoration:none;
  white-space:nowrap;
}
.legal-site-footer .foot-links a:hover{color:rgba(255,255,255,0.7);}

/* TABLET */
@media screen and (max-width:991px){
  .wrap{padding-left:24px;padding-right:24px;}
  .nav-links,.nav-right .nav-wa,.nav-right .nav-cta{display:none;}
  .nav-hamburger{display:flex;}
  .legal-hero{padding:56px 0 40px;}
  .legal-hero h1{font-size:32px;}
  .legal-body{
    grid-template-columns:1fr;
    gap:0;
    padding:32px 0 56px;
    width:100%;
    max-width:100%;
  }
  .legal-toc-wrap{
    position:relative;
    top:auto;
    z-index:1;
    background:#fff;
    margin:0 0 24px;
    padding:0 0 12px;
    border-bottom:1px solid var(--g100);
    width:100%;
    max-width:100%;
  }
  .legal-toc{
    position:static;
    display:flex;
    flex-wrap:nowrap;
    gap:8px;
    overflow-x:auto;
    overflow-y:hidden;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;
    max-width:100%;
    padding-bottom:2px;
  }
  .legal-toc::-webkit-scrollbar{display:none;}
  .legal-toc h5{display:none;}
  .toc-link{
    flex:0 0 auto;
    white-space:nowrap;
    border-left:none;
    border:1px solid var(--g100);
    border-radius:999px;
    padding:8px 14px;
    font-size:12px;
    margin:0;
    color:var(--g600);
    background:#fff;
  }
  .toc-link.active{
    background:var(--blue-dim);
    border-color:rgba(29,110,255,0.35);
    color:var(--blue);
    font-weight:600;
  }
  .legal-content{
    max-width:100%;
    padding-top:0;
  }
  .legal-section{scroll-margin-top:88px;}
  .legal-section h2{font-size:22px;}
}

/* MOBILE */
@media screen and (max-width:767px){
  .wrap{padding-left:20px;padding-right:20px;}
  .legal-hero{padding:48px 0 32px;}
  .legal-hero-tag{font-size:10px;padding:5px 10px;margin-bottom:12px;}
  .legal-hero h1{font-size:26px;letter-spacing:-.5px;line-height:1.2;}
  .legal-hero p{font-size:13.5px;line-height:1.55;}
  .legal-body{padding:24px 0 48px;}
  .legal-toc-wrap{top:64px;margin-bottom:24px;padding-bottom:12px;}
  .toc-link{padding:7px 12px;font-size:11.5px;}
  .legal-highlight{
    padding:16px 18px;
    margin-bottom:28px;
    border-radius:10px;
    border-left-width:3px;
  }
  .legal-highlight p{font-size:14px;line-height:1.7;}
  .legal-section{
    padding-bottom:28px;
    margin-bottom:28px;
    scroll-margin-top:116px;
  }
  .legal-section h2{font-size:19px;margin-bottom:12px;line-height:1.3;}
  .legal-section p,.legal-section li{font-size:14px;line-height:1.72;}
  .legal-section ul,.legal-section ol{padding-left:18px;margin-bottom:14px;}
  .legal-section#contact-us li,
  .legal-section[id*="contact"] li{padding:12px 16px;font-size:14px;}
  .legal-site-footer{padding:36px 0 24px !important;}
  .legal-site-footer .foot-bottom{
    flex-direction:column;
    align-items:flex-start;
    gap:14px;
  }
  .legal-site-footer .foot-links{gap:10px 16px;}
}

@media screen and (max-width:479px){
  .wrap{padding-left:20px;padding-right:20px;}
  .legal-hero h1{font-size:23px;}
  .legal-hero p{font-size:13px;}
  .legal-section h2{font-size:18px;}
}
