:root{
  /* Overall page width */
  --shell-width:1500px;
  --site-frame:clamp(20px,4.2vw,120px);
  --frame:rgba(224,233,246,0.15);
}

/* Main page shell */
.shell{
  position:relative;
  width:calc(100vw - (var(--site-frame) * 2));
  max-width:var(--shell-width);
  margin:0 auto;
  border-left:1px solid var(--frame);
  border-right:1px solid var(--frame);
}

/* Fixed vertical frame lines */
.shell-frame{
  position:fixed;
  inset:0;
  z-index:600;
  pointer-events:none;
  width:calc(100vw - (var(--site-frame) * 2));
  max-width:var(--shell-width);
  margin:0 auto;
  border-left:1px solid var(--frame);
  border-right:1px solid var(--frame);
}

.shell-inner{
  width:calc(100vw - (var(--site-frame) * 2));
  max-width:var(--shell-width);
  margin:0 auto;
}

/* Shared public navbar */
header{
  position:sticky;
  top:0;
  z-index:60;
  background:rgba(15,18,24,0.72);
  backdrop-filter:saturate(160%) blur(12px);
  -webkit-backdrop-filter:saturate(160%) blur(12px);
  border-bottom:1px solid var(--line, rgba(224,233,246,0.12));
}

.nav-wrap{
  width:100%;
  padding:0 26px;
}

.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  height:72px;
}

.nav-right{
  display:flex;
  align-items:center;
  gap:20px;
  margin-left:auto;
}

.nav-right .lnk{
  font-size:15px;
  font-weight:500;
  color:var(--cream-soft, rgba(224,233,246,0.60));
  transition:color .2s ease;
}

.nav-right .lnk:hover{
  color:var(--cream, #E6EBF6);
}

.acceptor-logo{
  display:flex;
  align-items:center;
  gap:0;
  text-decoration:none;
}

.logo-full{
  height:34px;
  width:auto;
  display:block;
}

.nav-cta{
  min-width:150px;
  height:44px;
  padding:0 18px;
  font-size:14px;
  gap:16px;
}

.nav-cta.btn-cream{
  background:rgba(230,235,246,.82);
  color:#0F1218;
}

.nav-cta.btn-cream:hover{
  background:rgba(230,235,246,.92);
  opacity:1;
}

.nav-cta .arr{
  width:18px;
  height:18px;
  flex-shrink:0;
}

/* Shared public footer */
.footer-section{
  position:relative;
  background:var(--bg, #0F1218);
  overflow:hidden;
  min-height:320px;
}

#footer-mg{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  display:block;
  z-index:0;
  pointer-events:none;
}

footer{
  position:relative;
  z-index:2;
  color:var(--cream, #E6EBF6);
}

.fcols{
  display:grid;
  grid-template-columns:1.5fr 1fr 1fr 1fr 1fr;
  gap:30px;
  padding:48px 0 40px;
}

.fbrand p{
  color:var(--cream-soft, rgba(224,233,246,0.60));
  font-size:14px;
  margin-top:14px;
  line-height:1.6;
  max-width:260px;
}

.fbrand .logo-full{
  height:34px;
}

.fcol h4{
  font-size:13px;
  font-weight:700;
  color:var(--cream-soft, rgba(224,233,246,0.60));
  margin-bottom:18px;
  letter-spacing:.02em;
}

.fcol a{
  display:block;
  color:var(--cream-soft, rgba(224,233,246,0.60));
  font-size:15px;
  padding:6px 0;
  font-weight:400;
}

.fcol a:hover{
  color:var(--cream, #E6EBF6);
}

.fcopy{
  color:var(--cream-faint, rgba(224,233,246,0.38));
  font-size:14px;
  padding:24px 0 10px;
  border-top:1px solid var(--line, rgba(224,233,246,0.12));
}

/* Desktop refinement */
@media (min-width:901px){
  .wrap{
    max-width:1440px;
  }

  .nav{
    height:64px;
  }

  .logo-full{
    height:30px;
  }

  .nav-right .lnk{
    font-size:14px;
  }

  .nav-cta{
    height:40px;
    min-width:138px;
    padding:0 16px;
    font-size:13px;
  }

  .nav-cta .arr{
    width:18px;
    height:18px;
  }

  .btn{
    min-width:190px;
    padding:15px 22px;
    font-size:14px;
  }

  .btn-lg{
    padding:15px 22px;
    font-size:14px;
  }

  .fcols{
    padding:42px 0 34px;
  }
}

@media(max-width:900px){
  .fcols{
    grid-template-columns:1fr 1fr;
    gap:28px;
  }

  .fbrand{
    grid-column:1/-1;
  }
}

/* Mobile */
@media(max-width:600px){
  .shell{
    width:100%;
    border-left:none;
    border-right:none;
  }

  .shell-frame{
    display:none;
  }

  .shell-inner{
    width:100%;
  }
}

@media(max-width:760px){
  .footer-section{
    border-top:none !important;
  }
}
